joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
mov esi, ecx
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e9745
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e973d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4e9768
pop ebx
pop edi
pop esi
pop ebp
ret 8
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp + 0xc]
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.00543aa0
mov eax, dword [esi]
mov ecx, 0xffff
add esp, 0xc
cmp word [eax + 2], cx
jne 0x4e97b5
or dword [eax + 8], 0x400000
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret 8
or dword [eax + 4], 0x400000
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x4ea0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push eax
push ebx
mov esi, ecx
mov dword [ebp - 0x208], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [esi + 0xc], eax
jne 0x4ea109
push 0x7f00
push 0
jmp 0x4ea187
push 0x100
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Scintilla
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4ea168
push 0x5c1d28
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4ea168
push dword [ebp - 0x208]
mov ecx, esi
push ebx
call fcn.004eb040
test al, al
je 0x4ea161
push 0x57d
jmp 0x4ea184
push 0x57f
jmp 0x4ea184
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4ea17f
push 0x57e
jmp 0x4ea184
push 0x57c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
Function at 0x4f8190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], edi
test edi, edi
jne 0x4f81d3
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0x113e
push dword [ebx + 0xc]
mov dword [ebp - 0x22c], 0x104
mov dword [ebp - 0x240], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [ebp - 0x20c], 0
jne 0x4f821e
xor ecx, ecx
jmp 0x4f8236
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8227
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x14], 8
jb 0x4f8240
mov eax, dword [esi]
jmp 0x4f8242
mov eax, esi
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push dword [esi + 0x10]
push eax
call fcn.00406240
add esp, 0x10
test eax, eax
jne 0x4f81be
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x4f827d
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00401c70
add esp, 8
test al, al
jne 0x4f81be
cmp byte [esi + 0x30], 0
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
je 0x4f828d
push 2
jmp 0x4f828f
push 1
push 0x1102
push dword [ebx + 0xc]
call eax
cmp byte [esi + 0x31], 0
je 0x4f82b0
push edi
push 9
push 0x110b
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x214]
xor edi, edi
mov byte [ebp - 0x20d], 1
push 4
push 0x110a
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x4f8345
xor edx, edx
mov dword [ebp - 0x214], edx
lea ecx, [ecx]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
sar eax, 6
cmp edi, eax
jae 0x4f81be
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 6
cmp eax, edi
jbe 0x4f835e
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x218]
push ebx
push eax
call fcn.004f8190
mov byte [ebp - 0x20d], al
test al, al
je 0x4f834b
mov eax, dword [ebp - 0x218]
inc edi
add dword [ebp - 0x214], 0x40
push ebx
push 1
push 0x110a
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x214]
mov ebx, eax
test ebx, ebx
jne 0x4f82e0
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
push str.invalid_vector_T__subscript
call fcn.00515a37
int3
Function at 0x4f8fd0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x4f9015
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4f8ff7
mov eax, dword [edi + 8]
push 0
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x40]
push esi
push 0
push 0
push dword [edi + 0xc]
mov dword [edi + 0x3c], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [edi + 0x24], 8
lea esi, [edi + 0x10]
jb 0x4f903f
mov eax, dword [esi]
jmp 0x4f9041
mov eax, esi
push 0
push 0x5883b8
push dword [esi + 0x10]
push eax
call fcn.00406240
add esp, 0x10
test eax, eax
je 0x4f9069
cmp dword [esi + 0x14], 8
jb 0x4f9060
mov esi, dword [esi]
push 1
push 0
push 0
push esi
jmp 0x4f908b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.0052c233
mov esp, ebp
pop ebp
ret
Function at 0x4fb680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58095b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [edi + 0x28], 3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0
mov dword [ebp - 4], 0
push 0x20
call fcn.0052bd3f
add esp, 4
test eax, eax
je 0x4fb75a
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], vtable.ColourPicker.0
mov dword [eax + 0x10], 0xff
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 1
jmp 0x4fb75c
xor eax, eax
push 0x20
mov dword [edi + 0x10], eax
call fcn.0052bd3f
add esp, 4
test eax, eax
je 0x4fb7a3
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], vtable.ColourPicker.0
mov dword [eax + 0x10], 0xff
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 1
jmp 0x4fb7a5
xor eax, eax
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x18]
imul eax, ebx, 0x2c
add eax, dword [0x611358]
push eax
call fcn.004d4ef0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4fcb90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4fcc5c
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4fcc56
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4fcc1a
push edi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov ebx, 1
push eax
mov dword [ebp - 0x30], ebx
call fcn.004fdb20
mov byte [ebp - 0x29], bl
test al, al
jne 0x4fcc1e
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4fcc38
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], ebx
call fcn.004038c0
cmp byte [ebp - 0x29], 0
je 0x4fcc4f
push edi
push 1
push 0xc2
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4
Function at 0x501ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20020
call fcn.0052c270
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20020], ebx
mov edx, dword [ebx + 4]
test edx, edx
jne 0x501aef
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
push esi
xor esi, esi
cmp byte [ebx + 0x10], 0
je 0x501b29
mov ecx, dword [ebx]
cmp ecx, 1
je 0x501b0e
lea eax, [ecx - 2]
cmp eax, 1
ja 0x501b25
push edx
push 1
push 2
jmp 0x501b13
push edx
push 1
push 3
lea eax, [ecx*2 + 0x5c3a28]
add eax, ecx
push eax
call fcn.00554cd1
add esp, 0x10
mov byte [ebx + 0x10], 0
mov ecx, dword [ebx]
cmp ecx, 7
ja case.default.0x501b3b
movzx eax, byte [ecx + 0x501c3c]
jmp dword [eax*4 + 0x501c34]
push dword [ebx + 4]
push 1
push dword [ebp + 0xc]
push edi
call fcn.00554cd1
add esp, 0x10
mov esi, eax
jmp case.default.0x501b3b
xor eax, eax
mov dword [ebp - 0x2001c], ecx
mov word [ebp - 0x20014], ax
lea ecx, [ebp - 0x2001c]
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [ebp - 0x20018], esi
mov dword [ebp - 0x20010], edi
mov dword [ebp - 0x2000c], edi
mov dword [ebp - 0x20008], eax
call fcn.00501560
mov eax, dword [ebp - 0x2000c]
xor esi, esi
cmp eax, dword [ebp - 0x20008]
ja 0x501c05
cmp dword [ebp - 0x20018], 0
jne 0x501bba
mov ax, word [ebp - 0x20014]
mov word [ebp + esi*2 - 0x20004], ax
inc esi
lea ecx, [ebp - 0x2001c]
call fcn.00501560
mov edi, dword [ebp - 0x20008]
mov ebx, dword [ebp - 0x2000c]
cmp esi, 0x10000
je 0x501bdd
cmp ebx, edi
jbe 0x501ba1
mov eax, dword [ebp - 0x20020]
push dword [eax + 4]
lea eax, [esi + esi]
push 1
push eax
lea eax, [ebp - 0x20004]
push eax
call fcn.00554cd1
add esp, 0x10
test eax, eax
je 0x501c1f
xor esi, esi
cmp ebx, edi
jbe 0x501ba1
mov esi, 1
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
Function at 0x507ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call fcn.00503ba0
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push str.Recovery_initiating
push str.Notepad_will_attempt_to_save_any_unsaved_data._However__dataloss_is_very_likely.
push dword [0x610148]
call esi
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
jne 0x507f8f
xor ecx, ecx
jmp 0x507faf
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
jmp 0x507fa0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x507fa0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00406c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x840]
push 9
push str.NRECOV
call fcn.00406760
lea eax, [ebp - 0x840]
push eax
lea ecx, [edi + 0x10]
call fcn.0046ea10
test al, al
je 0x5080b8
push 0x8a
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
lea ecx, [ebp - 0x828]
push str.Notepad_was_able_to_successfully_recover_some_unsaved_documents__or_nothing_to_be_saved_could_be_found._r_nYou_can_find_the_results_at_:_r_n
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00406c80
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x828]
call fcn.00406650
cmp dword [ebp - 0x814], 8
mov eax, dword [ebp - 0x828]
jae 0x508067
lea eax, [ebp - 0x828]
push 0x40
push str.Recovery_success
push eax
push dword [0x610148]
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x508099
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
jmp 0x5080cc
push 0x10
push str.Recovery_failure
push str.Unfortunatly__Notepad_was_not_able_to_save_your_work._We_are_sorry_for_any_lost_data.
push dword [0x610148]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x5080f1
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
Function at 0x508be0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581dd9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
cmp word [eax], 0
je 0x508c88
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x508c88
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edi
push dword [edi + 4]
push dword [edi]
lea esi, [ebx + eax*4]
call fcn.00401f90
mov eax, dword [edi]
add esp, 0x10
mov byte [ebp - 0x14], 0
mov ecx, edi
mov dword [edi + 4], eax
push dword [ebp - 0x14]
push esi
push ebx
call fcn.00507780
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50abf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x260], ebx
push esi
mov esi, dword [ebp + 8]
cmp eax, 0xf
je 0x50ac3c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x14

Function at 0x50ad40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0x10]
mov edi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e9110
call fcn.0040baa0
cmp dword [eax + 0x231d8], 0
je 0x50adf1
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 5
push 0x8ff
push dword [edi + 0xc]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x8fe
push dword [edi + 0xc]
call ebx
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0xc80014
push 0
push 0x406
push 0x8fe
push dword [edi + 0xc]
call esi
push 0x96
push 1
push 0x405
push 0x8fe
push dword [edi + 0xc]
call esi
push 0
push 0
push 0xf0
push 0x8fe
push dword [edi + 0xc]
call esi
cmp eax, 1
je 0x50adef
push 0
push 0x8fe
push dword [edi + 0xc]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
pop ebx
pop edi
pop ebp
ret 0xc
Function at 0x514880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582f1f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x5148c8
lea eax, [esi + 8]
push eax
push 0
push dword [esi]
push 0x514c00
push 0
push 0
call fcn.00557bb7
add esp, 0x18
mov dword [esi + 4], eax
push 0x54
call fcn.0052bd3f
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5148f7
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call fcn.00514f50
jmp 0x5148f9
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push eax
push dword [esi + 4]
push 0x514930
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x514f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5830b1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x20], 7
mov dword [edi + 0x1c], 0
mov word [edi + 0xc], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp word [edx], 0
jne 0x514fca
xor ecx, ecx
jmp 0x514fe2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x514fd2
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.00406c80
mov esi, dword [ebp + 0x18]
lea ecx, [edi + 0x3c]
xor eax, eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
push esi
mov dword [edi + 0x38], edi
call fcn.005156d0
push esi
lea ecx, [edi + 0x48]
call fcn.005156d0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x52dc69
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x55dd84
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055da47

Function at 0x55dd8f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055dbc8

Function at 0x565ffd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00565cbd
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4da756ea
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4dc81509
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219