joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4667d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x466842
mov eax, ebx
call fcn.00468aec
test al, al
jne 0x466842
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.00405294
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46682f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46684f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051f8
jmp 0x46684f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051f8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x467c10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467c7e
mov eax, esi
call fcn.0045178c
test al, al
je 0x467c7e
mov eax, dword [ebx + 0x84]
call fcn.004513dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467c7e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x467c72
push 0
mov eax, dword [ebx + 0x84]
call fcn.004513dc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00449364
jmp 0x467c7e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00467a4c
pop esi
pop ebx
ret

Function at 0x4694c0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004038b8
ret
Function at 0x46a4b8
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.00405634
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.0046a4ac
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.0046a640
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x46a527
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x46a541
mov eax, esi
call fcn.0046a4ac
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.0046a640
jmp 0x46a5b6
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.0046a4ac
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.0046a640
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.004038b8
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x488120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48817a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00488110
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00485d68
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00485880
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488181
lea eax, [ebp - 4]
call fcn.004051a4
ret
Function at 0x490408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x49067f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x490694
call fcn.00490270
lea eax, [ebp - 0x3f0]
call fcn.004051a4
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405634
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x490640
xor eax, eax
push ebp
push 0x490639
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4906d4
call fcn.00490270
mov eax, dword [ebp - 0x408]
call fcn.00405634
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49050b
push ebp
mov eax, 0x490700
call fcn.00490360
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x49070c
call fcn.00490270
mov eax, dword [ebp - 0x40c]
call fcn.00405634
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x490595
push dword [ebp - 0x3f0]
push 0x490734
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405414
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405538
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x490740
call fcn.00490270
mov eax, dword [ebp - 0x414]
call fcn.00405634
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49061f
push dword [ebp - 0x3f0]
push 0x490734
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405414
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490640
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004051f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490686
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.004051c8
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004051c8
ret
Function at 0x491104
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405624
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x49126c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00469cd8
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00469cf8
mov ebx, eax
jmp 0x49123e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405414
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a27c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040928c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040928c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004055cc
je 0x49121e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405414
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040928c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040928c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004055cc
jne 0x491233
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00469d18
mov ebx, eax
test ebx, ebx
jne 0x49117f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491273
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004051c8
lea eax, [ebp - 4]
call fcn.004051a4
ret
Function at 0x491457
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4914b1
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x4914ac
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4914ab
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x491478
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x491fdc
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x528e1c], eax
push 0x49201c
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x528e1c], eax
mov eax, dword [0x5220e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x528e20], eax
push 0
mov eax, dword [0x5257f4]
push eax
push 0x491f94
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x528e24], eax
ret

Function at 0x4921bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405624
xor eax, eax
push ebp
push 0x492296
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4922ac
mov edx, dword [ebp - 4]
call fcn.004054bc
mov eax, dword [ebp - 8]
call fcn.00405634
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x492206.0
jmp dword [eax*4 + 0x49220d]
mov eax, ebx
mov edx, 0x4922b8
call fcn.004051f8
jmp 0x49227b
mov eax, ebx
mov edx, 0x4922cc
call fcn.004051f8
jmp 0x49227b
mov eax, ebx
mov edx, 0x4922dc
call fcn.004051f8
jmp 0x49227b
mov eax, ebx
mov edx, 0x4922f0
call fcn.004051f8
jmp 0x49227b
mov eax, ebx
mov edx, 0x492300
call fcn.004051f8
jmp 0x49227b
mov eax, ebx
mov edx, 0x492314
call fcn.004051f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49229d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051c8
ret
Function at 0x492464
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405624
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4925d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00469cd8
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00469cf8
mov ebx, eax
jmp 0x4925a8
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405414
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a27c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040928c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040928c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004055cc
je 0x49257e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405414
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040928c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040928c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004055cc
jne 0x49259d
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [edi + 8]
je 0x49259d
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00469d18
mov ebx, eax
test ebx, ebx
jne 0x4924df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4925dd
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004051c8
lea eax, [ebp - 4]
call fcn.004051a4
ret
Function at 0x492e68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x492e70
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4930cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x528ce4]
mov edx, 0x4930e4
call fcn.004055cc
jne 0x4930b2
lea edx, [ebp - 0xc]
mov eax, dword [0x5220e0]
mov eax, dword [eax]
call fcn.0046756c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040a248
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00430f34
mov eax, dword [ebp - 0x10]
mov edx, 0x4930f0
call fcn.004055cc
je 0x492f03
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00430f34
mov eax, dword [ebp - 0x14]
mov edx, 0x4930fc
call fcn.004055cc
je 0x492f03
lea eax, [ebp - 8]
mov edx, 0x4930f0
call fcn.00405470
lea edx, [ebp - 0x1c]
mov eax, dword [0x5220e0]
mov eax, dword [eax]
call fcn.0046756c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00496a98
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x493108
call fcn.004054bc
mov eax, dword [0x528db0]
mov edx, 0x493118
call fcn.004055cc
jne 0x492f5d
lea edx, [ebp - 0x20]
mov eax, dword [0x5220e0]
mov eax, dword [eax]
call fcn.0046756c
mov eax, dword [ebp - 0x20]
mov edx, dword [0x528dfc]
call fcn.00492af0
jmp 0x492f8a
mov eax, 0x528dfc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004054bc
lea edx, [ebp - 0x24]
mov eax, dword [0x5220e0]
mov eax, dword [eax]
call fcn.0046756c
mov eax, dword [ebp - 0x24]
mov edx, dword [0x528dfc]
call fcn.0049278c
mov eax, dword [0x528dfc]
call fcn.00409f68
test al, al
je 0x492fd9
mov eax, dword [0x528d94]
mov edx, 0x493118
call fcn.004055cc
je 0x492fb5
push 0
push 0x49311c
call sub.kernel32.dll_WinExec
push 1
mov eax, dword [ebp - 8]
call fcn.00405634
push eax
push 0
mov eax, dword [0x528dfc]
call fcn.00405634
push eax
push 0x493138
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x528ca4]
mov eax, dword [eax + 0x378]
mov dl, 1
call fcn.00434c50
mov eax, dword [0x528ca4]
mov eax, dword [eax + 0x384]
mov dl, 1
call fcn.00434c50
mov eax, dword [0x528d50]
mov edx, 0x493118
call fcn.004055cc
jne 0x493013
call fcn.00491fdc
mov eax, dword [0x528d54]
mov edx, 0x493118
call fcn.004055cc
jne 0x493041
mov eax, dword [0x528e38]
push eax
mov eax, dword [0x528ca4]
mov eax, dword [eax + 0x37c]
push eax
mov eax, dword [0x528ca4]
push eax
call fcn.0049206c
cmp dword [0x528d64], 0
je 0x493075
mov eax, dword [0x528d64]
mov edx, 0x493148
call fcn.004055cc
je 0x493075
push 1
push 0
push 0
mov eax, dword [0x528d64]
call fcn.00405634
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x528da4]
mov edx, 0x493118
call fcn.004055cc
jne 0x4930b2
xor eax, eax
push ebp
push 0x4930a8
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043b960
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4930b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4930d4
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.004051c8
ret
Function at 0x497a9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405624
xor eax, eax
push ebp
push 0x497bd7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x497ba7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405634
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00409f68
test al, al
jne 0x497b17
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403650
lea eax, [ebp - 0x1d0]
call fcn.004033ec
call fcn.00403028
push dword [0x528ca8]
push 0x497bf0
push dword [0x528cac]
push 0x497bf0
push dword [0x528cb0]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.00405538
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004925e4
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405954
call fcn.00403d0c
call fcn.00403028
lea eax, [ebp - 0x1d0]
call fcn.00403718
call fcn.00403028
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497bb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497bde
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.004051c8
lea eax, [ebp - 4]
call fcn.004051a4
ret
Function at 0x406850
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45fd1b
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.00454dc8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4068d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00452d17
mov eax, dword [eax]
push 0x4731c0
push eax
call fcn.00445c14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455053
test bl, bl
je 0x4068d2
push 0x4731c0
lea ecx, [esp + 0xc]
call fcn.004553e3
push 0x476d10
lea ecx, [esp + 0xc]
call fcn.004553e3
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 0x40690e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455053
jmp 0x4069d9
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 0x406992
lea edx, [esp + 0x7c]
push 0x476d0c
push edx
call fcn.00445c14
add esp, 8
test eax, eax
je 0x406992
lea eax, [esp + 0x7c]
push 0x476d08
push eax
call fcn.00445c14
add esp, 8
test eax, eax
je 0x406992
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 0x406922
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.00455053
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 0x4071d0
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 0x407232
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 0x407240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45fd9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47d1a0]
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 0x407378
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4072a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455053
xor eax, eax
jmp 0x4073ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00455190
push esi
lea ecx, [esp + 0xc]
call fcn.0045541f
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 0x4073cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004071d0
test eax, eax
jne 0x4073cd
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.004071d0
test eax, eax
jne 0x4073cd
lea eax, [esp + 0x14]
push 0x476d24
push eax
call fcn.00446c50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4073ac
lea ecx, [esp + 0x14]
push 0x476d20
push ecx
call fcn.00446bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4073ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4073af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00455140
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4072be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455053
xor eax, eax
jmp 0x4073ef
mov byte [esi], 0
push 0x476d1c
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.00455053
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