joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50af84
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40c35c]
call fcn.0040769c
xor eax, eax
push ebp
push 0x50b0ce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5543a8], 0
jne 0x50afd8
mov ecx, dword [0x5551ec]
mov dl, 1
mov eax, dword [0x40e014]
call fcn.004177d0
call fcn.004059b8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048ac
mov eax, ebx
call fcn.00406870
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x50b0dc
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409918
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x50b01f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x50b074
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x50b06d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406c74
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406c0c
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00411e20
test eax, eax
jne 0x50b06d
mov ebx, 0x15
jmp 0x50b079
mov ebx, 0x10
jmp 0x50b079
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5543a8]
call fcn.0050adf0
mov eax, dword [ebp - 4]
call fcn.0050adf0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b0d5
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406a04
lea eax, [ebp - 0xc]
mov edx, dword [0x40c35c]
call fcn.00407774
ret

Function at 0x50fcc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0050f6f8
test byte [ebx + 0x2a5], 4
jne 0x50fd55
mov edx, esp
mov eax, ebx
call fcn.00486d70
push esp
mov eax, ebx
call fcn.0048fdd4
push eax
push 0
mov eax, ebx
test eax, eax
je 0x50fcf5
sub eax, 0xfffffd14
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x280]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x294], 0
jne 0x50fd26
mov ecx, dword [0x555530]
mov dl, 1
mov eax, dword [0x50a7fc]
call fcn.004177d0
call fcn.004059b8
mov eax, ebx
call fcn.005102dc
cmp byte [ebx + 0x59], 0
jne 0x50fd5c
mov eax, ebx
call fcn.00490038
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50fd5c
push 0
mov eax, ebx
call fcn.00490038
push eax
call sub.user32.dll_ShowWindow
jmp 0x50fd5c
mov eax, ebx
call fcn.0048bee8
add esp, 0x10
pop ebx
ret
Function at 0x51594c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5159b3
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.00406d88
push edi
mov eax, dword [ebp - 4]
call fcn.00406a98
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406a0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5159ba
lea eax, [ebp - 4]
call fcn.004069fc
ret

Function at 0x51abc4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x51ac4e
xor edx, edx
push ebp
push 0x51ac2f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51ac4e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x51f3f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x51f426
mov eax, ebx
call fcn.0051feac
cmp dword [ebx + 0x40], 0
je 0x51f41f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x51f497
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x51f489
cmp dword [ebx + 8], 0
je 0x51f448
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x51f45a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x51f489
cmp dword [ebx + 8], 0
je 0x51f43b
cmp eax, 3
je 0x51f46d
dec eax
jne 0x51f43b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x51f43b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x51f43b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x51f4b5
cmp dword [ebx + 0x14], 0xcc
je 0x51f4b5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0051f4c0
pop ebx
ret
Function at 0x52fd78
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069f4
mov eax, dword [ebp - 8]
call fcn.004069f4
mov eax, dword [ebp - 0xc]
call fcn.004069f4
mov eax, dword [ebp + 0xc]
call fcn.004069f4
xor eax, eax
push ebp
push 0x52fee2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00406a98
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x52fef8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00406a98
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x52febf
xor edx, edx
push ebp
push 0x52feb8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00406a98
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a98
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x52fea1
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x52fe98
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x52fe9c
xor eax, eax
jmp 0x52fe9e
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52febf
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52fee9
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406a04
lea eax, [ebp + 0xc]
call fcn.004069fc
ret
Function at 0x52ff08
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x52ffd0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x52ffd4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x52ffd0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52ffc7
xor eax, eax
push ebp
push 0x52ffc0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ffc7
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53030c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x530536
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x105
mov eax, dword [ebp - 0x24]
call fcn.00404280
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x53038d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x530377
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00406bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530394
mov eax, dword [ebp - 0x14]
call fcn.0040429c
ret

Function at 0x531b64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.004048ac
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x531b9f
cmp word [ebp - 0x14], 0x31
jne 0x531b9d
mov bl, 1
jmp 0x531b9f
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004903e4
test al, al
je 0x5334ef
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x5334cd
cmp word [esi + 0x67a], 0
je 0x533481
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x5334a4
cmp dword [ebp - 4], 0
jbe 0x5334a0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x5334a4
xor ebx, ebx
jmp 0x5334a6
mov bl, 1
test bl, bl
jne 0x5334ef
mov eax, dword [0x55571c]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x5334ef
mov eax, dword [0x55571c]
mov eax, dword [eax]
call fcn.004b48bc
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x5334ef
cmp byte [esi + 0x610], 0
jne 0x5334ef
mov edx, 0xfffffdf3
mov eax, esi
call fcn.005100e0
cmp eax, 4
jne 0x53345e
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53896c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x538982
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x53897b
mov eax, esp
mov esi, edx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 0xc], edx
test esi, esi
jl 0x5389e1
mov edx, esi
inc edx
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [ebx]
call fcn.0044cc90
mov ecx, eax
mov eax, ecx
and eax, 0xff
mov edi, esi
cdq
idiv edi
add dword [ebp - 4], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv edi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv edi
add dword [ebp - 0xc], eax
add ebx, 4
dec dword [ebp - 0x10]
jne 0x5389a1
movzx eax, byte [ebp - 4]
movzx edx, byte [ebp - 8]
shl edx, 8
or eax, edx
movzx edx, byte [ebp - 0xc]
shl edx, 0x10
or eax, edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x5420b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x54216c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0x542178
lea edx, [ebp - 8]
mov eax, dword [0x55571c]
mov eax, dword [eax]
call fcn.004b5334
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00412e84
lea eax, [ebp - 4]
mov edx, 0x542190
call fcn.00406e20
mov eax, dword [ebp - 4]
call fcn.00406a98
push eax
push 0x5421a4
mov eax, ebx
call fcn.00490038
push eax
call sub.shell32.dll_ShellExecuteW
call fcn.00415268
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00443624
movzx eax, ax
lea edx, [ebp - 0xc]
call fcn.00412614
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x5421bc
mov edx, 0x5421e8
mov eax, 0x80000001
call fcn.0053efa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x542173
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406a04
ret
Function at 0x409caf
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x409cd0
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x409cc7
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x409cbf
mov eax, ebx
leave
ret

Function at 0x409cf6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x409d55
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x409d82
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x409d71
xor ecx, eax
xor edx, ebx
dec edi
jne 0x409d62
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x409da8
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x409d49
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40a5e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.00409c75
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40a7c7
push dword [ebp - 4]
call fcn.00409c59
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a6b8
jmp 0x40a7c7
push dword [ebp - 4]
call fcn.00409c59
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x40a70c
lea eax, [ebp - 4]
push eax
call fcn.0040a5ce
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.00409e80
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40a70c
mov eax, 1
jmp 0x40a70e
xor eax, eax
test eax, eax
je 0x40a7bc
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40a7b4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040a3eb
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40a7a3
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0040a5a7
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40a756
add esp, 0xc
jmp 0x40a7c7
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40a691
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x40a7e8
mov esp, ebp
pop ebp
ret 8
Function at 0x43a900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bb7ab
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.004b02bc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43a982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ae196
mov eax, dword [eax]
push 0x5b3cc0
push eax
call fcn.004a0d64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b0547
test bl, bl
je 0x43a982
push 0x5b3cc0
lea ecx, [esp + 0xc]
call fcn.004b08d7
push 0x5b3ccc
lea ecx, [esp + 0xc]
call fcn.004b08d7
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 0x43a9be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b0547
jmp 0x43aa89
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 0x43aa42
lea edx, [esp + 0x7c]
push 0x5b3cc8
push edx
call fcn.004a0d64
add esp, 8
test eax, eax
je 0x43aa42
lea eax, [esp + 0x7c]
push 0x5b3cc4
push eax
call fcn.004a0d64
add esp, 8
test eax, eax
je 0x43aa42
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 0x43a9d2
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.004b0547
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 0x43b290
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 0x43b2f2
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 0x43b300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bb82b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bd920]
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 0x43b438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43b366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b0547
xor eax, eax
jmp 0x43b4af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b0684
push esi
lea ecx, [esp + 0xc]
call fcn.004b0913
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 0x43b48d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0043b290
test eax, eax
jne 0x43b48d
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.0043b290
test eax, eax
jne 0x43b48d
lea eax, [esp + 0x14]
push 0x5b3cdc
push eax
call fcn.004a1e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b46c
lea ecx, [esp + 0x14]
push 0x5b3cd8
push ecx
call fcn.004a1d80
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b46c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43b46f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b0634
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43b37e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b0547
xor eax, eax
jmp 0x43b4af
mov byte [esi], 0
push 0x5b3cd4
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.004b0547
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