joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449300
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x449333
push esi
call fcn.0044c3f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44932c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4493b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4493a2
mov eax, dword [esi + 8]
test eax, eax
je 0x449357
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44939e
cmp eax, 2
je 0x4493a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44934a
cmp eax, 3
je 0x44937d
cmp eax, 1
jne 0x44934a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44934a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44934a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004493e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4493c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004493e0
add esp, 4
pop esi
ret

Function at 0x454ef0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x454f93
test eax, eax
jbe 0x454f93
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x454f93
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x454f3e
xor esi, esi
jmp 0x454f44
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x454f6f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00456e90
add esi, eax
push esi
mov ebx, esi
call fcn.00456e90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x454f50
pop ebp
test edi, edi
pop edi
jne 0x454f93
test ebx, ebx
je 0x454f93
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00459330
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4550d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4551ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4551ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004699cc
mov esi, eax
test esi, esi
je 0x4551ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4551ed
mov ecx, esi
call fcn.00455040
cmp edi, eax
jge 0x4551ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x455173
mov dword [esp + 0x34], 1
jmp 0x4551ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4551ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00454640
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46a36f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a3a7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468426
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004683fe
jmp 0x46a3b3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ba64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46baa6
call fcn.00471519
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46baa6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ba9d
xor eax, eax
jmp 0x46baae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046bab4
pop edi
pop esi
pop ebx
ret 4
Function at 0x471a49
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x471a77
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471a95
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004719af
jmp 0x471a95
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471a95
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004719af
test edi, edi
mov eax, edi
jne 0x471a7f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405414
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40547a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403cb4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402a24
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405464
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405481
lea eax, [ebp - 0x10]
call fcn.00403a44
ret

Function at 0x406f40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403ee0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x406f59
test al, 0x10
jne 0x406f5d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40988c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4098c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b34
jmp 0x4098ce
mov eax, ebx
mov edx, esi
call fcn.00403a98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4098d8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4098f9
mov al, byte [esp]
jmp 0x4098fb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409f80
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409df8
mov eax, dword [0x414514]
cmp byte [eax], 0
je 0x409ffc
mov eax, dword [0x41442c]
call fcn.004029a0
call fcn.0040271c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407240
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a044
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a032
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x414408]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415660]
call fcn.00404964
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40add0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ae34
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403cb4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406bc0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ae3b
lea eax, [ebp - 0xc]
call fcn.00403a44
ret

Function at 0x412b34
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004128b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403ee0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x412b92
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4144a0]
mov dl, 1
mov eax, dword [0x4127d4]
call fcn.0040a140
call fcn.004034a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x412c04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ed0
mov eax, dword [ebp - 8]
call fcn.00403ed0
xor eax, eax
push ebp
push 0x412cb5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402a04
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 5
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x88
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403ee0
push eax
mov eax, dword [ebp - 4]
call fcn.00403ee0
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x412c9a
push 0x2710
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412cbc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a68
ret
Function at 0x435441
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x421c38
call fcn.0043ba48
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push 7
xor ebx, ebx
pop eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], bx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov word [esi + 0x3c], bx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov word [esi + 0x58], bx
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x425b9c
mov byte [ebp - 4], 3
call fcn.004285d6
lea eax, [esi + 0x70]
push eax
call fcn.0042d3c3
lea eax, [esi + 0x8c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x426874
lea eax, [esi + 0xa0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xb0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov byte [esi + 0xcc], bl
mov byte [esi + 0xcd], bl
mov byte [esi + 0xce], bl
mov byte [esi + 0xcf], bl
mov byte [esi + 0xd0], bl
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x435515
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x421bde
call fcn.0043ba48
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
xor edi, edi
pop ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov word [esi + 4], di
mov dword [ebp - 4], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], edi
mov word [esi + 0x20], di
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], edi
mov word [esi + 0x3c], di
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], edi
mov word [esi + 0x58], di
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x425b9c
mov byte [ebp - 4], 3
call fcn.004285d6
lea eax, [esi + 0x70]
push eax
call fcn.0042d3c3
lea eax, [esi + 0x8c]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x426874
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004355c6
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x43643b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x421870
call fcn.0043ba48
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov al, byte [ebp + 0x44]
mov byte [ebp - 4], 2
mov byte [edi + 0x10], al
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x14]
call fcn.004285ad
lea eax, [ebp + 0x28]
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.004285ad
mov byte [ebp - 4], 4
call fcn.004364b1
push 1
xor ebx, ebx
lea esi, [ebp + 0xc]
call fcn.004289f6
push 1
lea esi, [ebp + 0x28]
call fcn.004289f6
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x40
Function at 0x408af8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041b28a
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041b28a
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.0041b28a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x41ecf0
call fcn.0041b2a2
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x408bb1
mov eax, 0
jmp 0x408cf5
cmp dword [ebp + 0xc], 0
jne 0x408bdd
mov dword [ebp - 0x18], esp
mov eax, 0x18
call fcn.0041b29c
cmp dword [ebp - 0x18], esp
je 0x408bda
push 6
call fcn.0041b296
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x408c05
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408bff
push ebx
call fcn.0041b290
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x19
call fcn.0041b29c
cmp dword [ebp - 0x18], esp
je 0x408c30
push 6
call fcn.0041b296
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4b1fff
mov eax, 0x1a
call fcn.0041b29c
cmp dword [ebp - 0x18], esp
je 0x408c5c
push 6
call fcn.0041b296
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x1b
call fcn.0041b29c
cmp dword [ebp - 0x18], esp
je 0x408cf0
push 6
call fcn.0041b296
add esp, 4
jmp 0x408cf5
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041b290
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041b290
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041b290
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a940b
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.0049d9d3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4290d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049b69a
mov eax, dword [eax]
push 0x50d254
push eax
call fcn.0048d424
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049dc5e
test bl, bl
je 0x4290d2
push 0x50d254
lea ecx, [esp + 0xc]
call fcn.0049dfee
push 0x510dcc
lea ecx, [esp + 0xc]
call fcn.0049dfee
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 0x42910e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049dc5e
jmp 0x4291d9
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 0x429192
lea edx, [esp + 0x7c]
push 0x510dc8
push edx
call fcn.0048d424
add esp, 8
test eax, eax
je 0x429192
lea eax, [esp + 0x7c]
push 0x510dc4
push eax
call fcn.0048d424
add esp, 8
test eax, eax
je 0x429192
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 0x429122
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.0049dc5e
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 0x4299d0
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 0x429a32
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 0x429a40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a948b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x520e80]
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 0x429b78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429aa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dc5e
xor eax, eax
jmp 0x429bef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049dd9b
push esi
lea ecx, [esp + 0xc]
call fcn.0049e02a
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 0x429bcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004299d0
test eax, eax
jne 0x429bcd
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 accept
mov ecx, edi
call fcn.004299d0
test eax, eax
jne 0x429bcd
lea eax, [esp + 0x14]
push 0x510de0
push eax
call fcn.0048e570
mov esi, eax
add esp, 8
test esi, esi
jne 0x429bac
lea ecx, [esp + 0x14]
push 0x510ddc
push ecx
call fcn.0048e4f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x429bac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x429baf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049dd4b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x429abe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dc5e
xor eax, eax
jmp 0x429bef
mov byte [esi], 0
push 0x510dd8
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.0049dc5e
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