joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458d4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x490be0]
cmp dword [eax + 0x30], 0
je 0x458df6
cmp dword [ebx + 0x94], 0
jne 0x458df0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458cdc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458df0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458db6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458df0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004190ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458dc5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459958
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45998d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046c4
jmp 0x45999a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45aa8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45aacd
mov eax, esi
call fcn.00440f58
test al, al
je 0x45aacd
mov eax, dword [ebx + 0x84]
call fcn.00440c54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45aacd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440c54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d950
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45da71
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x48f754]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x48f754]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45da88
call fcn.00409b1c
mov eax, dword [ebp - 4]
call fcn.004727d4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x48f520]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x48f71c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x45daa4
call fcn.00409b1c
mov eax, dword [ebp - 0x10]
call fcn.004727d4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x45d678
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45dac4
call fcn.00409b1c
mov eax, dword [ebp - 0x24]
call fcn.004727d4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45dadc
call fcn.00409b1c
mov eax, dword [ebp - 0x28]
call fcn.004727d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da78
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x10]
call fcn.004045d4
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x464970
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4649be
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x140], 0
je 0x4649be
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x14]
jmp 0x4649ce
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x13c]
test edx, edx
je 0x4649ce
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4649e7
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00462368
jmp 0x464a2a
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.004235b0
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.00422dac
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa8]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.00422ad4
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.004232fc
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00422ad4
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x469864
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045103c
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.00469710
mov esi, eax
test esi, esi
je 0x4698b1
mov al, byte [0x4698c4]
cmp al, bl
jne 0x4698b1
mov edx, esi
mov eax, ebp
call fcn.004696b8
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4698b9
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46c954
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040962c
add esp, 0x3ec
pop ebx
ret

Function at 0x46dd34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
call fcn.0044c170
mov edi, eax
dec edi
test edi, edi
jl 0x46dde7
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044c180
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x46dd7e
je 0x46dd9f
dec eax
je 0x46ddc0
jmp 0x46dddf
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044c180
cmp byte [ebx + 0x164], 0
setne dl
call fcn.0044c09c
jmp 0x46dddf
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044c180
cmp byte [ebx + 0x164], 1
setne dl
call fcn.0044c09c
jmp 0x46dddf
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044c180
cmp byte [ebx + 0x164], 2
setne dl
call fcn.0044c09c
inc esi
dec edi
jne 0x46dd5f
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x46de0c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46de6d
jmp 0x46de10
pop edx
pop eax
jge 0x46de6d
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x50], 2
je 0x46de49
cmp byte [ebx + 0x161], 2
je 0x46de49
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46de92
push 0
mov eax, dword [ebx + 0x12c]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x104]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x46de92
cmp dword [ebx + 0x11c], 0
je 0x46de92
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042e8c8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4770e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477251
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x477236
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040962c
mov dl, 1
mov eax, dword [0x45bc90]
call fcn.0045bce8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x4173b8]
call fcn.00403774
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0045bd64
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x477233
mov dl, 1
mov eax, dword [0x45c730]
call fcn.0045c798
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, 0x477268
call fcn.0045c0b0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004048e0
xor eax, eax
push ebp
push 0x47722c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0045ca98
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00477270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477233
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004037a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004037a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004037a4
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477258
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045f8
ret
Function at 0x48c0f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a84
xor eax, eax
push ebp
push 0x48c232
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1e0]
mov eax, dword [0x48f6c0]
mov eax, dword [eax]
call fcn.0045a43c
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.004092dc
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 8]
mov ecx, 0x48c248
call fcn.004048e0
push 0x48c258
lea eax, [ebp - 0x1e4]
call fcn.0048aaf8
push dword [ebp - 0x1e4]
push 0x48c270
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404954
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00402e2c
lea eax, [ebp - 0x1d8]
call fcn.00402bc8
call fcn.004028e0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1d8]
call fcn.00404cb0
call fcn.00403264
call fcn.004028e0
mov edx, 0x48c27c
lea eax, [ebp - 0x1d8]
call fcn.00404cb0
call fcn.00403264
call fcn.004028e0
lea eax, [ebp - 0x1d8]
call fcn.00402ef4
call fcn.004028e0
push 0
mov eax, dword [ebp - 8]
call fcn.00404a94
push eax
call sub.kernel32.dll_WinExec
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c239
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004045f8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045f8
ret
Function at 0x403570
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0x40ffa0
push 1
push str.Mode
push str.Setup
call esi
xor edi, edi
push 0x40ffa0
push edi
push 0x40d3c4
push str.Setup
mov dword [0x40d030], eax
mov dword [0x40d034], eax
call esi
push 0x40ffa0
push edi
push 0x40d3b4
push str.Setup
mov dword [0x40ff14], eax
call esi
push 0x40ffa0
push edi
push 0x40d3a8
push str.Setup
mov dword [0x40ff1c], eax
call esi
push 0x40ffa0
push edi
push 0x40d398
push str.Setup
mov dword [0x40ff10], eax
call esi
mov ecx, dword [0x40ff10]
mov edx, dword [0x40ff14]
mov dword [0x40ff18], eax
push eax
mov eax, dword [0x40ff1c]
push eax
push ecx
push edx
call fcn.004037d0
add esp, 0x10
test eax, eax
jne 0x403644
mov eax, dword [0x40ff08]
push 0x10
push 0x40d038
push str.Invalid_Margin_Values__
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x40ff18], edi
mov dword [0x40ff10], edi
mov dword [0x40ff1c], edi
mov dword [0x40ff14], edi
mov ecx, dword [0x40ff14]
mov edx, dword [0x40ff1c]
mov eax, dword [0x40ff10]
push 0x40ffa0
mov dword [0x410124], ecx
mov ecx, dword [0x40ff18]
push 0x96
push str.Timer
push str.Setup
mov dword [0x41012c], edx
mov dword [0x410120], eax
mov dword [0x410128], ecx
call esi
pop edi
mov dword [0x40d050], eax
mov dword [0x40ff64], eax
pop esi
ret

Function at 0x408f59
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f560
cmp edx, dword [eax]
je 0x408f7b
add eax, 8
inc ecx
cmp eax, 0x40f5f0
jl 0x408f6c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f560]
jne 0x4090a9
mov eax, dword [0x40fc94]
cmp eax, 1
je 0x409083
test eax, eax
jne 0x408fac
cmp dword [0x40f4a4], 1
je 0x409083
cmp edx, 0xfc
je 0x4090a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408fe3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407f70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409750
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409026
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409750
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c548
push edi
call fcn.0040a700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407f70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407f80
lea eax, [ebp - 0xa0]
push 0x40c528
push eax
call fcn.00407f80
push dword [esi + 0x40f564]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407f80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a675
add esp, 0x2c
pop edi
jmp 0x4090a9
lea eax, [ebp + 8]
lea esi, [esi + 0x40f564]
push 0
push eax
push dword [esi]
call fcn.00409750
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x40915c
mov ecx, 0x424f7572
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x6b5b1f49
nop
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40d152
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x50
call fcn.0042ed63
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x14
rep stosd dword es:[edi], eax
push 0x4672f2
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00401131
add esp, 8
cmp eax, 0
jne 0x40d228
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
push 0x4672f0
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40d1c6
mov eax, 0x4672f2
push eax
push 4
mov ebx, 0x14c
call fcn.00430ff0
add esp, 0x34
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40d1f6
mov eax, 0x4672f2
push eax
push 2
mov ebx, 0x134
call fcn.00430730
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d222
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40d277
push 6
call fcn.0042ed6f
add esp, 4
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x40d28c
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40e5ef
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004306f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e63b
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004306f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e674
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0xff
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40e6a2
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x5b8734]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40e6cc
push 6
call fcn.0042ed6f
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40e6df
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x178
call fcn.0042fdf0
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e708
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x154
call fcn.004309c0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e72e
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e741
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x178
call fcn.0042fdf0
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e76a
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x154
call fcn.004309c0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e790
push ebx
call fcn.0042ed69
add esp, 4
push 0x46738f
push dword [ebp - 0x18]
push 0x46738f
push dword [ebp - 0x10]
push 0x46738f
push dword [0x5b8544]
mov ecx, 6
call fcn.004010d5
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e7cb
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e7db
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x5b8544]
test ebx, ebx
je 0x40e7f2
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8544], eax
mov eax, 1
jmp 0x40e802
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e813
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e823
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4144e1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x4672f2
push 0x4672f2
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x414527
push 6
call fcn.0042ed6f
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4155d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x4155ed
xor dword [ebx], eax
lea ebx, [ebx + 4]
dec ecx
jne 0x4155e2
xor eax, eax
inc eax
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4159b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x415a8b
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x415a8b
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x415a8b
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x415a11
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x415a8b
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x415a56
test dl, dl
je 0x415a52
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x415a56
add ecx, 2
add eax, 2
test dl, dl
jne 0x415a36
xor eax, eax
jmp 0x415a5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x415a6d
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x415a78
inc esi
cmp esi, ebp
jae 0x415a8b
mov edx, dword [esp + 0x10]
jmp 0x415a2c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x415cef
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x415cfa
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x415d0e
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x415d12
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x415d4b
cmp dword [edi + ecx], 0x4550
jne 0x415d4b
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x415d4b
test byte [edi + ecx + 0x16], 2
je 0x415d4b
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x415d50
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x415d8c
xor eax, eax
jmp 0x415d6f
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x415d95
inc edx
movzx eax, dx
cmp eax, edi
jl 0x415d6f
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret