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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45aa93
push esi
call fcn.0045dbd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45aa8c
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 0x45ab19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45ab02
mov eax, dword [esi + 8]
test eax, eax
je 0x45aab7
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 0x45aafe
cmp eax, 2
je 0x45ab02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45aaaa
cmp eax, 3
je 0x45aadd
cmp eax, 1
jne 0x45aaaa
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 0x45aaaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45aaaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045ab40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45ab28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045ab40
add esp, 4
pop esi
ret

Function at 0x4683e0
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 0x468483
test eax, eax
jbe 0x468483
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x468483
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 0x46842e
xor esi, esi
jmp 0x468434
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46845f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0041c460
add esi, eax
push esi
mov ebx, esi
call fcn.0041c460
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x468440
pop ebp
test edi, edi
pop edi
jne 0x468483
test ebx, ebx
je 0x468483
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00483050
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4685c5
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 0x4686dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4686dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00494319
mov esi, eax
test esi, esi
je 0x4686dd
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 0x4686dd
mov ecx, esi
call fcn.00468530
cmp edi, eax
jge 0x4686dd
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 0x468663
mov dword [esp + 0x34], 1
jmp 0x4686be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4686dd
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.00467b30
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 0x494cbc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x494cf4
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.00492d73
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00492d4b
jmp 0x494d00
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4963ad
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 0x4963ef
call fcn.0049c098
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4963ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4963e6
xor eax, eax
jmp 0x4963f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004963fd
pop edi
pop esi
pop ebx
ret 4
Function at 0x49c5c8
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 0x49c5f6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49c614
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049c52e
jmp 0x49c614
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49c614
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049c52e
test edi, edi
mov eax, edi
jne 0x49c5fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402c44
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403db8
test esi, esi
jne 0x402c7b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403ea8
jmp 0x402c9c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ae0
mov dword [esp], eax
test esi, esi
je 0x402c9c
cmp dword [ebx], 0
je 0x402c9c
dec esi
jmp 0x402c83
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4031b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x413020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40324c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40322c
xor eax, eax
push ebp
push 0x403225
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403268
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40322c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x413020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x413020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c34
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41404c], 0
je 0x403c95
cmp word [0x414220], 0xd7b2
jne 0x403c5d
cmp dword [0x414228], 0
jbe 0x403c5d
mov eax, 0x41421c
call dword [0x414238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x413068
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403cbc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41302c], 0
jne 0x403cb1
push 0
push 0x413060
push 0x413068
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054c8
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 0x40552e
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.00404028
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402da8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405518
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405535
lea eax, [ebp - 0x10]
call fcn.00403db8
ret

Function at 0x4096b4
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 0x4096ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ea8
jmp 0x4096f6
mov eax, ebx
mov edx, esi
call fcn.00403e0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409700
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 0x409721
mov al, byte [esp]
jmp 0x409723
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409db8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409c20
mov eax, dword [0x413528]
cmp byte [eax], 0
je 0x409e34
mov eax, dword [0x413450]
call fcn.00402d24
call fcn.00402a0c
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.00406ff8
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 0x409e7c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409e6a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41342c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414668]
call fcn.00404e3c
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 0x40ac38
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 0x40ac9c
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.00404028
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406be8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aca3
lea eax, [ebp - 0xc]
call fcn.00403db8
ret

Function at 0x41281c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4128bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040710c
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.user32.dll_GetActiveWindow
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x412881
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00403fb0
mov eax, dword [ebp - 0x10]
mov edx, esi
call fcn.0040aa6c
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
call fcn.00407120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4128c4
lea eax, [ebp - 0x10]
call fcn.00403db8
lea eax, [ebp - 0xc]
call fcn.004053fc
ret

Function at 0x4128cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4129b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403db8
mov eax, pe_nt_image_headers32
call fcn.004028ac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41298c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x412976
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x41296d
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403fa0
lea eax, [ebp - 0x10]
mov ecx, 0x4129c8
mov edx, dword [ebp - 4]
call fcn.004040a0
mov eax, dword [ebp - 0x10]
call fcn.004041a0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp edi, eax
jne 0x412961
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040405c
mov eax, dword [ebp - 0xc]
call fcn.00406ff8
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov bl, byte [eax]
test bl, bl
jne 0x41292b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412993
mov eax, dword [ebp - 8]
call fcn.004028dc
ret
Function at 0x412c14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x412c1c
push ecx
push ebx
push esi
mov eax, 0x412b74
call fcn.00405728
xor eax, eax
push ebp
push 0x412e51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41487c
call fcn.00403db8
lea edx, [ebp - 0x14]
mov eax, 5
call fcn.004128cc
mov edx, dword [ebp - 0x14]
mov eax, 0x414874
call fcn.00403e0c
mov eax, dword [0x414874]
call fcn.00404054
mov ebx, eax
test ebx, ebx
jle 0x412cbf
mov esi, 1
lea eax, [ebp - 0x18]
mov edx, dword [0x414874]
mov dl, byte [edx + esi - 1]
call fcn.00403fa0
mov edx, dword [ebp - 0x18]
mov eax, 0x414878
mov ecx, 0x412e68
call fcn.004040a0
mov eax, dword [0x414878]
call fcn.00406e5c
test al, al
je 0x412cbb
mov eax, 0x41487c
mov edx, dword [0x414878]
call fcn.00403e0c
jmp 0x412cbf
inc esi
dec ebx
jne 0x412c77
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00402c44
mov eax, dword [ebp - 0x1c]
mov edx, 0x412e84
call fcn.0040699c
test al, al
jne 0x412d11
cmp dword [0x41487c], 0
jne 0x412cff
push 0
push 0x412e8c
push 0x412e98
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x412d11
push 1
mov eax, dword [0x41487c]
call fcn.004041a0
push eax
call sub.kernel32.dll_WinExec
lea edx, [ebp - 0x20]
mov eax, 0x19
call fcn.0041281c
mov edx, dword [ebp - 0x20]
mov eax, 0x414880
mov ecx, 0x412ed4
call fcn.004040a0
mov eax, dword [0x414880]
call fcn.00406e5c
test al, al
je 0x412d48
mov eax, dword [0x414880]
call fcn.00406e6c
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0041281c
mov edx, dword [ebp - 0x24]
mov eax, 0x414880
mov ecx, 0x412ed4
call fcn.004040a0
mov eax, dword [0x414880]
call fcn.00406e5c
test al, al
je 0x412d7c
mov eax, dword [0x414880]
call fcn.00406e6c
cmp dword [0x41487c], 0
je 0x412e36
push 0
call sub.ole32.dll_CoInitialize
push 0
push 0
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402c44
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x19
call fcn.0041281c
mov eax, dword [ebp - 0x2c]
mov edx, 0x412eec
pop ecx
call fcn.004129cc
push 0
push 0
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00402c44
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x1a
call fcn.0041281c
lea eax, [ebp - 0x34]
mov edx, 0x412f0c
call fcn.0040405c
mov eax, dword [ebp - 0x34]
mov edx, 0x412eec
pop ecx
call fcn.004129cc
push 0
push 0
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00402c44
mov eax, dword [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, 0x17
call fcn.0041281c
lea eax, [ebp - 0x3c]
mov edx, 0x412f40
call fcn.0040405c
mov eax, dword [ebp - 0x3c]
mov edx, 0x412eec
pop ecx
call fcn.004129cc
call sub.ole32.dll_CoUninitialize
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e58
lea eax, [ebp - 0x3c]
mov edx, 0xb
call fcn.00403ddc
ret
Function at 0x409970
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x476ceb
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.0046b6dd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4099f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00468f9d
mov eax, dword [eax]
push 0x4ae220
push eax
call fcn.0045b4c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b968
test bl, bl
je 0x4099f2
push 0x4ae220
lea ecx, [esp + 0xc]
call fcn.0046bcf8
push 0x4b1d94
lea ecx, [esp + 0xc]
call fcn.0046bcf8
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 0x409a2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046b968
jmp 0x409af9
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 0x409ab2
lea edx, [esp + 0x7c]
push 0x4b1d90
push edx
call fcn.0045b4c4
add esp, 8
test eax, eax
je 0x409ab2
lea eax, [esp + 0x7c]
push 0x4b1d8c
push eax
call fcn.0045b4c4
add esp, 8
test eax, eax
je 0x409ab2
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 0x409a42
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.0046b968
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 0x40a2f0
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 0x40a352
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 0x40a360
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4be6bc]
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 0x40a498
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a3c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b968
xor eax, eax
jmp 0x40a50f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046baa5
push esi
lea ecx, [esp + 0xc]
call fcn.0046bd34
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 0x40a4ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040a2f0
test eax, eax
jne 0x40a4ed
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.0040a2f0
test eax, eax
jne 0x40a4ed
lea eax, [esp + 0x14]
push 0x4b1da8
push eax
call fcn.0045c500
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a4cc
lea ecx, [esp + 0x14]
push 0x4b1da4
push ecx
call fcn.0045c480
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a4cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a4cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ba55
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a3de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b968
xor eax, eax
jmp 0x40a50f
mov byte [esi], 0
push 0x4b1da0
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.0046b968
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
Function at 0x41aef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41af5e
cmp si, 0x69
ja 0x41af5e
add esi, 0xffd0
cmp si, 0x11
je 0x41af2e
push 0x11
call edi
test ax, ax
jge 0x41af2e
or esi, 0x2000
cmp si, 0x10
je 0x41af43
push 0x10
call edi
test ax, ax
jge 0x41af43
or esi, 0x4000
cmp si, 0x12
je 0x41af58
push 0x12
call edi
test ax, ax
jge 0x41af58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41af6b
mov esi, 0xbd
jmp 0x41af1f
cmp si, 0x6e
jne 0x41af78
mov esi, 0xbe
jmp 0x41af1f
cmp si, 0x6f
jne 0x41af19
mov esi, 0xbf
jmp 0x41af1f

Function at 0x41c5d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ceeb0]
xor edx, edx
cmp eax, edx
jne 0x41c5f6
xor eax, eax
mov byte [eax + 0x4cedb0], al
inc eax
cmp eax, 0x100
jl 0x41c5de
mov dword [0x4ceeb0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cedb0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c687
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41c65a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41c628
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41c753
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41c73a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret