joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4300ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4300f8
mov eax, esi
call fcn.004456a8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4300f8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4300f8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x430237
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430138
cmp eax, 0x108
ja 0x430138
mov eax, esi
call fcn.004456a8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43022e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x430237
jmp 0x43022e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430217
cmp eax, 0x20a
ja 0x430217
test byte [esi + 0x50], 0x80
jne 0x43016a
sub eax, 0x203
je 0x430167
sub eax, 3
je 0x430167
sub eax, 3
jne 0x43016a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43017e
dec eax
je 0x430193
dec eax
je 0x4301b0
dec eax
je 0x430193
jmp 0x4301b7
mov ecx, ebx
mov eax, dword [0x455030]
mov eax, dword [eax]
mov edx, esi
call fcn.0044eee4
jmp 0x43022e
cmp byte [esi + 0x5d], 1
jne 0x4301a9
mov eax, esi
mov si, 0xffed
call fcn.00403380
jmp 0x430237
or word [esi + 0x54], 1
jmp 0x43022e
and word [esi + 0x54], 0xfffe
jmp 0x43022e
mov eax, dword [0x456b10]
cmp byte [eax + 0x20], 0
je 0x43022e
mov eax, dword [0x456b10]
cmp dword [eax + 0x1c], 0
je 0x43022e
mov eax, dword [ebx]
mov edx, dword [0x456b10]
cmp eax, dword [edx + 0x1c]
jne 0x43022e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004455ec
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403380
jmp 0x430237
cmp eax, 0xb00b
jne 0x43022e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042e9e8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4336d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4336f4
cmp dword [esi + 4], 0
je 0x433721
test byte [ebx + 0x55], 1
jne 0x433713
mov eax, ebx
call fcn.004322e4
test eax, eax
jne 0x433713
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433831
mov edx, esi
mov eax, ebx
call fcn.004331fc
jmp 0x433831
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43382a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435548
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042ffe0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004336d8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435548
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433831
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439e00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45519c]
cmp byte [eax + 0xc], 0
je 0x439f6d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439f66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x456b64], 0
jne 0x439e54
push 0x439f74
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x439f7c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b64], eax
cmp dword [0x454b00], 0
jne 0x439f4f
push 0x439f8c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x454b00], eax
cmp dword [0x454b00], 0
je 0x439f4f
push 0x439f98
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b68], eax
push 0x439fa8
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b6c], eax
push 0x439fbc
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b70], eax
push 0x439fd4
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b74], eax
push 0x439fec
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b78], eax
push 0x43a000
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b7c], eax
push 0x43a018
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b80], eax
push 0x43a030
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b84], eax
push 0x43a04c
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b88], eax
push 0x43a058
mov eax, dword [0x454b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439f6d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ddf8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ed4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43de47
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404144
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44555c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4455ac]
test si, 4
je 0x445570
or bl, 1
test si, 8
je 0x44557a
or bl, 4
test si, 1
je 0x445584
or bl, 8
test si, 2
je 0x44558e
or bl, 0x10
test si, 0x10
je 0x445598
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4455a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4455b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4455e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4455c9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4455d8
or bl, 4
test esi, 0x20000000
je 0x4455e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44bc90
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44bca2
add esp, 0xfffffff0
call fcn.004034a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419148
mov eax, dword [0x454e64]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c034
mov eax, dword [0x454e70]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c040
mov eax, ebx
call fcn.0044c04c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x448468
push eax
push 0
push 0
mov eax, dword [0x454fb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41abac]
call fcn.0041c320
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41abac]
call fcn.0041c320
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41abac]
call fcn.0041c320
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c46c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c348
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c348
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c348
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44bddf
call fcn.00403500
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c12c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c2d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c2b8
mov dl, 1
mov eax, dword [0x41185c]
call fcn.00403154
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ed4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c2a7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043a160
test al, al
je 0x44c29a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44c2e8
lea eax, [ebp - 0x254]
call fcn.00408968
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c29a
xor eax, eax
push ebp
push 0x44c293
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44c320
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c27c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404144
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44c27c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c29a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c19d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415338
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c2de
lea eax, [ebp - 0x260]
call fcn.00403ed4
ret

Function at 0x44cc0c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x456bb0]
cmp byte [eax + 0xa5], 0
jne 0x44cc7d
cmp dword [0x456bc8], 0
jne 0x44cc3e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44cbc8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x456bc8], eax
cmp dword [0x456bc4], 0
jne 0x44cc59
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x456bc4], eax
cmp dword [0x456bcc], 0
jne 0x44cc7d
push esp
push 0
push 0
push 0x44cb6c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x456bcc], eax
pop edx
ret
Function at 0x44cd74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44cd8b
add esp, 0xfffffff0
call fcn.004034a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419148
mov eax, dword [0x454fa0]
cmp word [eax + 2], 0
jne 0x44cdb3
mov eax, dword [0x454fa0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e4dc
mov eax, dword [0x455050]
cmp word [eax + 2], 0
jne 0x44cdcd
mov eax, dword [0x455050]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e6d4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411440]
call fcn.00403154
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 [0x41b68c]
call fcn.00422f58
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44cf54
mov eax, dword [0x454ec4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423328
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ec74
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454ec4]
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.0040c030
test eax, eax
je 0x44cec2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040835c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c058
test eax, eax
je 0x44ced6
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.00404144
mov eax, dword [0x454dbc]
cmp byte [eax], 0
jne 0x44cf0a
mov eax, ebx
call fcn.0044d07c
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.0044ee50
mov eax, ebx
call fcn.0044f814
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44cf4a
call fcn.00403500
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d2fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456bb0]
cmp dword [eax + 0x30], 0
je 0x44d3a6
cmp dword [ebx + 0x94], 0
jne 0x44d3a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d28c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d3a0
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 0x44d366
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d3a0
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.004137a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d375
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44df08
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 0x44df3d
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.00403fc4
jmp 0x44df4a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f02c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f06d
mov eax, esi
call fcn.00435820
test al, al
je 0x44f06d
mov eax, dword [ebx + 0x84]
call fcn.00435548
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f06d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435548
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x403910
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x37c
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x360]
mov dword [esp], edi
mov dword [esp + 4], esi
call sub.KERNEL32.dll_lstrcpyA
sub esp, 8
mov dword [esp], edi
call sub.KERNEL32.dll_lstrlenA
mov dword [ebp - 0x36c], 1
mov ebx, eax
sub esp, 4
lea eax, [eax - 2]
cmp eax, 0xff
ja 0x403aa1
cmp byte [esi + ebx - 1], 0x5c
je 0x403ae3
mov dword [esp + 4], 0x407163
add ebx, 1
mov dword [esp], edi
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.dll_FindFirstFileA
mov byte [ebp + ebx - 0x360], 0
mov dword [ebp - 0x36c], 0
sub esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x370], eax
je 0x403aa1
lea esi, [ebp - 0x12c]
jmp 0x4039e5
mov dword [ebp - 0x36c], 1
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
test eax, eax
je 0x403a90
mov dword [esp], esi
call sub.KERNEL32.dll_lstrlenA
add eax, ebx
sub esp, 4
cmp eax, 0x103
ja 0x4039b8
lea eax, [ebp - 0x25c]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcpyA
lea eax, [ebp - 0x25c]
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp + 4], 0x407166
mov dword [esp], esi
call sub.KERNEL32.dll_lstrcmpA
sub esp, 8
test eax, eax
je 0x4039c2
mov dword [esp + 4], 0x407168
mov dword [esp], esi
call sub.KERNEL32.dll_lstrcmpA
sub esp, 8
test eax, eax
je 0x4039c2
test byte [ebp - 0x158], 0x10
lea eax, [ebp - 0x25c]
mov dword [esp], eax
je 0x403b00
call fcn.00403910
test eax, eax
mov eax, 1
cmovne eax, dword [ebp - 0x36c]
mov dword [ebp - 0x36c], eax
jmp 0x4039c2
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
mov dword [esp], edi
call sub.KERNEL32.dll_RemoveDirectoryA
sub esp, 4
test eax, eax
jne 0x403ad5
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.KERNEL32.dll_MoveFileExA
mov dword [ebp - 0x36c], 1
sub esp, 0xc
mov eax, dword [ebp - 0x36c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x407161
mov dword [esp], edi
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
jmp 0x40397a
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
test eax, eax
jne 0x4039c2
lea eax, [ebp - 0x25c]
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_MoveFileExA
mov dword [ebp - 0x36c], 1
sub esp, 0xc
jmp 0x4039c2
Function at 0x403bf0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x36c
lea edi, [ebp - 0x360]
mov dword [esp + 4], edi
mov dword [esp], 0x104
call sub.KERNEL32.dll_GetTempPathA
sub esp, 8
mov ebx, eax
cmp byte [ebp + eax - 0x361], 0x5c
je 0x403c37
mov dword [esp + 4], 0x40707c
add ebx, 1
mov dword [esp], edi
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp + 4], str..ocra_delete_me
mov dword [esp], edi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp - 0x158]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.dll_FindFirstFileA
mov byte [ebp + ebx - 0x360], 0
sub esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x36c], eax
je 0x403d0d
lea ebx, [ebp - 0x25c]
lea esi, [esi]
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrcpyA
lea eax, [ebp - 0x12c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp], ebx
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenA
sub esp, 4
mov esi, eax
mov dword [esp], 0x40716b
call sub.KERNEL32.dll_lstrlenA
sub esp, 4
sub esi, eax
mov dword [esp], ebx
mov byte [ebp + esi - 0x25c], 0
call fcn.00403bc0
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
test eax, eax
jne 0x403c80
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404320
Capabilities:
Create process on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
mov ecx, 0x11
push edi
lea edx, [ebp - 0x44c]
push ebx
mov edi, edx
sub esp, 0x490
mov ebx, dword [ebp + 8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x45c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x44c], 0x44
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x404400
mov eax, dword [ebp - 0x45c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x45c]
sub esp, 8
mov dword [esp + 4], 0x40902c
mov dword [esp], eax
call sub.KERNEL32.dll_GetExitCodeProcess
sub esp, 8
test eax, eax
je 0x404455
mov eax, dword [ebp - 0x45c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x458]
sub esp, 4
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x408]
mov dword [esp], ebx
mov dword [esp + 8], str.Failed_to_create_process___s_:__lu
mov dword [esp + 4], 0x400
mov dword [esp + 0x10], eax
call sub.msvcrt.dll__snprintf
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], str.OCRA
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
lea ebx, [ebp - 0x408]
mov dword [esp + 8], str.Failed_to_get_exit_status__error__lu_.
mov dword [esp + 4], 0x400
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.msvcrt.dll__snprintf
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], str.OCRA
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x4043d7