joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fd50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41fda8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x42e1f8]
mov dl, 1
mov eax, dword [0x41f688]
call fcn.0040c468
call fcn.00403ef8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041f7c0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42236c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, esi
xor edx, edx
call fcn.00404ffc
je 0x422432
mov eax, esi
call fcn.00404ed8
mov edx, eax
mov eax, ebx
call fcn.004051ac
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403134
mov dword [ebp - 0x3c], 0x3c
mov eax, dword [ebx]
call fcn.00404ed8
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
call fcn.00404ec8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push 0x80000000
push 0
mov eax, esi
call fcn.00404ec8
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
je 0x42242b
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004051ac
mov edx, dword [ebx]
mov eax, 0x42243c
call fcn.0040515c
mov esi, eax
test esi, esi
jle 0x422409
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405080
mov edx, dword [ebx]
mov eax, 0x422444
call fcn.0041d874
mov esi, eax
test esi, esi
jle 0x422432
mov eax, ebx
mov ecx, esi
mov edx, 1
call fcn.004050cc
jmp 0x422432
mov eax, ebx
call fcn.00404d04
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4224e4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4225f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404d04
mov eax, ebx
xor edx, edx
call fcn.00404ffc
je 0x422523
mov eax, esi
call fcn.0041d414
test al, al
jne 0x42252c
mov byte [ebp - 5], 0
jmp 0x4225de
push 0
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x421e3c]
call fcn.00421eb8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x42254d
sub edx, 0xfffffff8
mov ecx, 0x422608
call fcn.004061e0
xor eax, eax
push ebp
push 0x4225d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00422304
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404ec8
push eax
push 0
call sub.URLMON.DLL_URLOpenStreamW
test eax, eax
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x4225a0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0x14]
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x4225b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, edi
call fcn.00404f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225de
mov eax, dword [ebp - 0xc]
call fcn.00421f18
lea eax, [ebp - 4]
call fcn.0040619c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225fb
lea eax, [ebp - 4]
call fcn.0040619c
ret
Function at 0x424dc8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424f9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00423650
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x424f6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x424e5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0041d930
test al, al
je 0x424e3c
mov eax, ebx
call fcn.0041da64
push 0x42
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0041d208
mov dword [ebp - 0x14], eax
jmp 0x424e52
push 0xffff
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0041d208
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424e75
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00417b78
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.004243ac
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00417bdc
jmp 0x424ee2
push dword [ebp - 8]
push 0x424fb4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push dword [ebp - 0x18]
push 0x424fc0
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404904
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x424ece
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00404a9c
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0xc]
call fcn.00404d04
push eax
lea eax, [ebp - 8]
call fcn.00404580
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
pop ecx
call fcn.00423b4c
test al, al
jne 0x424e9a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00404ffc
je 0x424f4a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_FlushFileBuffers
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0041da64
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.00404ec8
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00404ec8
push eax
call sub.KERNEL32.DLL_CopyFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424f72
lea eax, [ebp - 0x14]
call fcn.0040dd60
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00423960
ret
Function at 0x427a84
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427b9c
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x427b62
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403134
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00404a44
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x427b2b
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, 0x42718c
call fcn.00406698
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x426f6c]
call fcn.00427320
call fcn.00403ef8
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x44], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x48]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404aa4
lea eax, [ebx + 0x50]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404aa4
jmp 0x427b7c
xor eax, eax
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x48]
call fcn.00404580
lea eax, [ebx + 0x50]
call fcn.00404580
xor eax, eax
mov dword [ebx + 0x44], eax
lea eax, [ebx + 0x14]
mov edx, esi
call fcn.004045d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427ba3
lea eax, [ebp - 0x48]
call fcn.00404580
ret
Function at 0x427c8c
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427e36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 4
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x58]
push eax
push 0x20000013
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x427d64
mov edx, dword [ebx + 0x58]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
test al, al
je 0x427d64
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0x1000
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00404a9c
push eax
push 0x14
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x427d64
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c70
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
mov esi, dword [ebx + 0x58]
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea eax, [ebp - 0x30]
push eax
push 2
push esi
push 0
mov ecx, 0x427e50
mov dl, 1
mov eax, dword [0x426f6c]
call fcn.00427320
call fcn.00403ef8
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebx + 0x54]
mov edx, pe_nt_image_headers32
call fcn.00404c70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0x54]
call fcn.00404a9c
push eax
push 1
push esi
call sub.wininet.dll_HttpQueryInfoA
lea eax, [ebx + 0x54]
mov edx, dword [ebp - 0xc]
call fcn.00404c70
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push esi
call sub.wininet.dll_InternetQueryDataAvailable
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x427e68
mov eax, ebx
call fcn.004275d8
cmp dword [ebp - 0xc], 0
jbe 0x427e1a
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404c70
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00404a9c
push eax
push esi
call sub.wininet.dll_InternetReadFile
mov edx, eax
cmp edx, 1
sbb edx, edx
neg edx
mov ecx, 0x427e8c
mov eax, ebx
call fcn.004275d8
lea eax, [ebp - 4]
call fcn.00404a9c
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x10]
cmp dword [ebp - 0xc], 0
jne 0x427da1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427e3d
lea eax, [ebp - 4]
call fcn.00404580
ret
Function at 0x402bcd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00418b78
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00418b78
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
mov dword [ebp - 0x18], 0
push 0x10
call fcn.00418b78
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 2
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x402c8a
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402ca3
push ebx
call fcn.00418b7e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 3
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x402cd2
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4c741e
mov eax, 4
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x402cfc
push 6
call fcn.00418b84
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 5
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x402d90
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 6
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x402db5
push 6
call fcn.00418b84
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x402dbd
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402dce
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00418b7e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x404fc3
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00418b78
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00418b78
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
mov dword [ebp - 0x18], 0
push 0x10
call fcn.00418b78
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x1a
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x405080
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405099
push ebx
call fcn.00418b7e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x1b
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x4050c8
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4c741e
mov eax, 0x1c
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x4050f2
push 6
call fcn.00418b84
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x1d
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x405186
push 6
call fcn.00418b84
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x1e
call fcn.00418b8a
cmp dword [ebp - 0x20], esp
je 0x4051ab
push 6
call fcn.00418b84
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4051b3
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4051c4
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00418b7e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00418b7e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4227d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4be32b
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.004b0484
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x422852
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ad627
mov eax, dword [eax]
push 0x4ea234
push eax
call fcn.0049f274
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b070f
test bl, bl
je 0x422852
push 0x4ea234
lea ecx, [esp + 0xc]
call fcn.004b0aeb
push 0x4eddac
lea ecx, [esp + 0xc]
call fcn.004b0aeb
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 0x42288e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b070f
jmp 0x422959
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 0x422912
lea edx, [esp + 0x7c]
push 0x4edda8
push edx
call fcn.0049f274
add esp, 8
test eax, eax
je 0x422912
lea eax, [esp + 0x7c]
push 0x4edda4
push eax
call fcn.0049f274
add esp, 8
test eax, eax
je 0x422912
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 0x4228a2
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.004b070f
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 0x423150
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 0x4231b2
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 0x4231c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4be3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fcf80]
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 0x4232f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x423226
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b070f
xor eax, eax
jmp 0x42336f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b0898
push esi
lea ecx, [esp + 0xc]
call fcn.004b0b27
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4edde4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42334d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00423150
test eax, eax
jne 0x42334d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00423150
test eax, eax
jne 0x42334d
lea eax, [esp + 0x14]
push 0x4eddc0
push eax
call fcn.004a0350
mov esi, eax
add esp, 8
test esi, esi
jne 0x42332c
lea ecx, [esp + 0x14]
push 0x4eddbc
push ecx
call fcn.004a02d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42332c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42332f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b0848
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42323e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b070f
xor eax, eax
jmp 0x42336f
mov byte [esi], 0
push 0x4eddb8
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.004b070f
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 0x434cd0
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 0x434d3e
cmp si, 0x69
ja 0x434d3e
add esi, 0xffd0
cmp si, 0x11
je 0x434d0e
push 0x11
call edi
test ax, ax
jge 0x434d0e
or esi, 0x2000
cmp si, 0x10
je 0x434d23
push 0x10
call edi
test ax, ax
jge 0x434d23
or esi, 0x4000
cmp si, 0x12
je 0x434d38
push 0x12
call edi
test ax, ax
jge 0x434d38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x434d4b
mov esi, 0xbd
jmp 0x434cff
cmp si, 0x6e
jne 0x434d58
mov esi, 0xbe
jmp 0x434cff
cmp si, 0x6f
jne 0x434cf9
mov esi, 0xbf
jmp 0x434cff

Function at 0x436500
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50dd80]
xor edx, edx
cmp eax, edx
jne 0x436526
xor eax, eax
mov byte [eax + 0x50dc80], al
inc eax
cmp eax, 0x100
jl 0x43650e
mov dword [0x50dd80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50dc80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4365b7
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 0x43658a
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 0x436558
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4365c0
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 0x436613
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 0x4365fa
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