joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d73c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d753
add esp, 0xfffffff0
call fcn.004035b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419bfc
mov eax, dword [0x468864]
cmp word [eax + 2], 0
jne 0x44d77b
mov eax, dword [0x468864]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ecc0
mov eax, dword [0x468914]
cmp word [eax + 2], 0
jne 0x44d795
mov eax, dword [0x468914]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044eeb8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41193c]
call fcn.00403264
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41193c]
call fcn.00403264
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c140]
call fcn.004239a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d91c
mov eax, dword [0x468780]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423d78
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f458
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x468780]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c514
test eax, eax
je 0x44d88a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408790
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c53c
test eax, eax
je 0x44d89e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042d8
mov eax, dword [0x46866c]
cmp byte [eax], 0
jne 0x44d8d2
mov eax, ebx
call fcn.0044da44
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f634
mov eax, ebx
call fcn.0044fff8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d912
call fcn.00403610
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44dcc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469bb4]
cmp dword [eax + 0x30], 0
je 0x44dd6e
cmp dword [ebx + 0x94], 0
jne 0x44dd68
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dc54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dd68
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 0x44dd2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dd68
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.00413d00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dd3d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e8d0
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 0x44e905
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.00404158
jmp 0x44e912
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f810
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f851
mov eax, esi
call fcn.004361e8
test al, al
je 0x44f851
mov eax, dword [ebx + 0x84]
call fcn.00435f88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f851
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435f88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4500c8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
jmp 0x4504cd
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x450504
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [edi + ecx]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4500cd]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x4504e2
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x4506d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4507af
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x4507c8
call fcn.004505ec
mov eax, dword [ebp - 4]
call fcn.00404528
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea edx, [ebp - 8]
mov eax, 0x4507ec
call fcn.004505ec
mov eax, dword [ebp - 8]
call fcn.00404528
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
lea edx, [ebp - 0xc]
mov eax, 0x450818
call fcn.004505ec
mov eax, dword [ebp - 0xc]
call fcn.00404528
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
xor ebx, ebx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp byte [eax], 0xcc
jne 0x45076a
call fcn.00450c34
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp byte [eax], 0xcc
jne 0x450787
call fcn.00450c34
inc ebx
cmp ebx, 0x14
jne 0x45074d
push 0
call edi
push eax
call esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4507b6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040408c
ret

Function at 0x450c34
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x450cca
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x450ce0
call fcn.004505ec
mov eax, dword [ebp - 4]
call fcn.00404528
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea edx, [ebp - 8]
mov eax, 0x450d04
call fcn.004505ec
mov eax, dword [ebp - 8]
call fcn.00404528
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
xor ebx, ebx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp byte [eax], 0xcc
jne 0x450ca5
call fcn.004506d8
inc ebx
cmp ebx, 0x14
jne 0x450c88
push 0
call esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450cd1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040408c
ret
Function at 0x451164
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404518
mov eax, dword [ebp - 8]
call fcn.00404518
xor eax, eax
push ebp
push 0x45132f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404328
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x4511bf
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404328
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404588
mov eax, dword [ebp - 8]
call fcn.00404328
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
jne 0x4511ed
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404328
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404588
mov eax, dword [ebp - 4]
call fcn.00404328
add eax, 2
call fcn.004026cc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45130d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404328
add eax, 2
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4512e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404328
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.00402cb0
mov eax, dword [ebp - 8]
call fcn.00404328
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00402cb0
mov eax, dword [ebp - 4]
call fcn.00404528
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00408790
mov eax, dword [ebp - 8]
call fcn.00404528
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.00408790
mov dword [ebp - 0x2e], ebx
mov dword [ebp - 0x2a], 2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x26], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], 0x14
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x4512c0
call fcn.0040cbf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512ea
mov eax, dword [ebp - 8]
call fcn.00404328
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret

Function at 0x4513b8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404518
mov eax, dword [ebp - 8]
call fcn.00404518
xor eax, eax
push ebp
push 0x451416
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.00404528
push eax
mov eax, dword [ebp - 4]
call fcn.00404528
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45141d
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040408c
ret
Function at 0x451424
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404518
mov eax, dword [ebp - 8]
call fcn.00404518
xor eax, eax
push ebp
push 0x4514b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004083e4
test al, al
je 0x45149d
push 5
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004085b4
mov eax, dword [ebp - 0xc]
call fcn.00404528
push eax
mov eax, dword [ebp - 8]
call fcn.00404528
push eax
mov eax, dword [ebp - 4]
call fcn.00404528
push eax
push 0x4514c8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x45149d
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4514bf
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040408c
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x4688f4]
mov eax, dword [eax]
call fcn.0044eb80
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp esi, edx
jle 0x4514ff
cmp ebx, eax
jle 0x4514db
pop esi
pop ebx
ret

Function at 0x451570
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x451587
jne 0x45158e
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x45159d
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x4515a5
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4558ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4558da
mov eax, ebx
call fcn.00456360
cmp dword [ebx + 0x40], 0
je 0x4558d3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45594b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45593d
cmp dword [ebx + 8], 0
je 0x4558fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45590e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45593d
cmp dword [ebx + 8], 0
je 0x4558ef
cmp eax, 3
je 0x455921
dec eax
jne 0x4558ef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4558ef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4558ef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x455969
cmp dword [ebx + 0x14], 0xcc
je 0x455969
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00455974
pop ebx
ret
Function at 0x466370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x466130
call fcn.00405e50
mov eax, dword [0x466524]
mov dword [0x469ccc], eax
mov eax, dword [0x466528]
mov dword [0x469cd0], eax
mov al, byte [0x46652c]
mov byte [0x469cd4], al
push 0x469ccc
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x469cd8], eax
xor eax, eax
push ebp
push 0x466516
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469cd8], 0
jne 0x4664f2
push 0x469ccc
push 0
push 0
call fcn.00406060
mov dword [0x469cd8], eax
call fcn.00450944
mov ebx, eax
call fcn.0045083c
cmp ebx, eax
je 0x4663fe
call fcn.00450c34
call fcn.0045153c
call fcn.00451570
test al, al
je 0x466413
push 0
call sub.kernel32.dll_ExitProcess_1
call fcn.004509f4
test al, al
jne 0x466421
call fcn.00450c34
call fcn.00451e5c
test al, al
jne 0x4664f2
mov ecx, dword [0x4688f4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x465e98]
call fcn.004474cc
mov edx, dword [0x468824]
mov dword [edx], eax
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x468824]
mov eax, dword [eax]
call fcn.00435f88
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [0x4688f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x4688f4]
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
push ebx
call sub.user32.dll_GetWindowLongA
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x4688f4]
push ebx
call sub.user32.dll_SetWindowLongA
mov eax, dword [0x468824]
mov eax, dword [eax]
call fcn.0044b824
mov eax, dword [0x4688f4]
mov eax, dword [eax]
call fcn.0044ec94
mov eax, dword [0x468824]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x88]
call fcn.00451ecc
mov eax, 0x9c4
call fcn.004514d0
mov eax, dword [0x468824]
mov eax, dword [eax]
call fcn.0044b81c
mov eax, dword [0x468824]
mov eax, dword [eax]
call fcn.00403294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46651d
mov eax, dword [0x469cd8]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [0x469cd8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x403860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push 0x431fb0
push edi
call fcn.00406a17
mov esi, eax
add esp, 8
test esi, esi
je 0x4038b2
push ebx
push 2
push 0
push esi
call fcn.00406e98
push esi
call fcn.00406da3
push 0
push 0
push esi
mov ebx, eax
call fcn.00406e98
push esi
call fcn.00406f8f
add esp, 0x20
cmp ebx, 0x7d000
pop ebx
jle 0x4038b2
push edi
call fcn.004072fd
add esp, 4
push 0x431fb4
push edi
call fcn.00406a17
mov esi, eax
add esp, 8
test esi, esi
jne 0x4038cc
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4038d1
push esi
sub eax, edx
push eax
push 1
push ebp
call fcn.00406b89
push esi
call fcn.00406f8f
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret

Function at 0x403f50
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [0x4373f4]
sub esp, 0x1c
test eax, eax
jne 0x403fb3
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x1c
lea eax, [esp + 4]
push eax
push 0x41bed0
call dword [0x430040]
mov eax, dword [esp + 4]
test eax, eax
je 0x403fb3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [eax], 0x5a4d
mov dword [0x4373f4], eax
jne 0x403fb3
cmp dword [ecx], 0x4550
jne 0x403fb3
mov ecx, dword [ecx + 0x50]
mov dword [0x4373f8], ecx
mov edx, dword [esp + 0x20]
push 0x104
push edx
push eax
call dword [0x43003c]
xor eax, eax
add esp, 0x1c
ret

Function at 0x4055a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [0x430040]
test eax, eax
jne 0x4055bd
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0xc]
push 0x104
push ecx
push esi
call dword [0x43003c]
test eax, eax
jne 0x4055dd
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [edx + eax + 0x18]
jbe 0x405622
lea eax, [ecx + 0x10]
lea esp, [esp]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x40560e
mov edx, esi
cmp edi, ecx
jb 0x405618
add edx, ecx
cmp edi, edx
jbe 0x40562c
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x405600
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
add ebx, 1
pop ebp
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [esp + 0x34]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x409ef0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46aa5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045f1c0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409f72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045cf6d
mov eax, dword [eax]
push 0x67c1d0
push eax
call fcn.0044f3f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f44b
test bl, bl
je 0x409f72
push 0x67c1d0
lea ecx, [esp + 0xc]
call fcn.0045f7db
push 0x67fd4c
lea ecx, [esp + 0xc]
call fcn.0045f7db
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x409fae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f44b
jmp 0x40a079
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a032
lea edx, [esp + 0x7c]
push 0x67fd48
push edx
call fcn.0044f3f4
add esp, 8
test eax, eax
je 0x40a032
lea eax, [esp + 0x7c]
push 0x67fd44
push eax
call fcn.0044f3f4
add esp, 8
test eax, eax
je 0x40a032
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409fc2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045f44b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40a870
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a8d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40a8e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46aadb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6866d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40aa18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a946
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f44b
xor eax, eax
jmp 0x40aa8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f588
push esi
lea ecx, [esp + 0xc]
call fcn.0045f817
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40aa6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a870
test eax, eax
jne 0x40aa6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040a870
test eax, eax
jne 0x40aa6d
lea eax, [esp + 0x14]
push 0x67fd60
push eax
call fcn.00450430
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa4c
lea ecx, [esp + 0x14]
push 0x67fd5c
push ecx
call fcn.004503b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40aa4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f538
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a95e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f44b
xor eax, eax
jmp 0x40aa8f
mov byte [esi], 0
push 0x67fd58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045f44b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4