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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415458]
call fcn.00404b5c
xor eax, eax
push ebp
push 0x46a72c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49ff1c], 0
jne 0x46a63b
mov ecx, dword [0x4a02a4]
mov dl, 1
mov eax, dword [0x407550]
call fcn.0040bec8
call fcn.00403ac8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.00404914
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a73c
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ae0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404924
test eax, eax
jle 0x46a6d3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46a6cc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404314
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042fc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083a8
test eax, eax
jne 0x46a6cc
mov ebx, 0x15
jmp 0x46a6d8
mov ebx, 0x10
jmp 0x46a6d8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49ff1c]
call fcn.0046a540
mov eax, dword [ebp - 8]
call fcn.0046a540
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a733
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040b0
lea eax, [ebp - 0x10]
mov edx, dword [0x415458]
call fcn.00404c2c
ret

Function at 0x475e60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x475f1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404798
mov eax, dword [0x4a031c]
cmp byte [eax], 0
je 0x475ecf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af8
mov eax, dword [ebx]
call fcn.00404924
push eax
mov eax, dword [ebx]
call fcn.00404914
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404924
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af8
jmp 0x475f01
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f44
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f21
lea eax, [ebp - 0x3f0]
call fcn.0040408c
ret
Function at 0x479048
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4790a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004790ac
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4790a9
ret

Function at 0x47e940
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x47e976
jmp 0x47ea1c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x47e9ba
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x47e9ba
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x47e9ca
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x47e9ca
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47e9e3
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0047b334
jmp 0x47ea1c
mov dl, 1
mov eax, dword [0x420344]
call fcn.00422328
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00422d98
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00421ed8
mov edx, esp
mov eax, esi
call fcn.00422a2c
mov eax, esi
call fcn.0040333c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x480f34
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044f5c4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00448bb0
pop ebx
ret
Function at 0x486318
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4863d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404798
mov eax, dword [0x4a031c]
cmp byte [eax], 0
je 0x486387
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af8
mov eax, dword [ebx]
call fcn.00404924
push eax
mov eax, dword [ebx]
call fcn.00404914
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404924
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af8
jmp 0x4863b9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f44
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4863d9
lea eax, [ebp - 0x3f0]
call fcn.0040408c
ret

Function at 0x486574
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x48662d
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045fe18
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.0048625c
mov edi, eax
test edi, edi
je 0x4865d3
mov al, byte [0x486638]
cmp al, bl
jne 0x4865d3
mov edx, edi
mov eax, esi
call fcn.00486194
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x48662d
cmp byte [esi + 0x161], 2
jne 0x4865fe
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4a0670]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00449e44
test eax, eax
jne 0x48662d
jmp 0x486628
mov eax, dword [0x4a057c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x486628
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4a057c]
mov edx, 0xb006
call fcn.00449e44
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48c5a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x48c5dc
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48c618
jmp 0x48c5e0
pop edx
pop eax
jge 0x48c618
mov eax, dword [0x4a0670]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00487424
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x48c63d
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x48c63d
cmp dword [ebx + 0x11c], 0
je 0x48c63d
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042fccc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x496d14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496e85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x496e6a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408f44
mov dl, 1
mov eax, dword [0x472468]
call fcn.004724c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x416768]
call fcn.0040330c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0047253c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x496e67
mov dl, 1
mov eax, dword [0x4735e0]
call fcn.00473648
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x496e9c
call fcn.00472888
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404398
xor eax, eax
push ebp
push 0x496e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00473948
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00496ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0040333c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040333c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040333c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e8c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040b0
ret
Function at 0x49a0ec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49a1a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404798
mov eax, dword [0x4a031c]
cmp byte [eax], 0
je 0x49a15b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af8
mov eax, dword [ebx]
call fcn.00404924
push eax
mov eax, dword [ebx]
call fcn.00404914
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404924
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af8
jmp 0x49a18d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f44
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a1ad
lea eax, [ebp - 0x3f0]
call fcn.0040408c
ret

Function at 0x49a1b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408f44
add esp, 0x3ec
pop ebx
ret

Function at 0x49d53c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040453c
mov eax, dword [ebp - 8]
call fcn.0040453c
xor eax, eax
push ebp
push 0x49d5ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49d5a3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040454c
push eax
mov eax, dword [ebp - 4]
call fcn.0040454c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d5af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d5d1
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040b0
ret

Function at 0x438c95
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
add ebx, ecx
mov ebx, ecx
push ecx
pop ebx
call fcn.00438cc8
add ebx, 1
xor dword [edx], edi
or ebx, ebx
add edx, 1
mov ebx, 0x6ded24fc
cmp edx, esi
jne fcn.00438c95
add ecx, 0x31b10271
inc ebx
ret
Function at 0x406be4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, 0x4127f4
push edi
push ebp
mov ebp, edx
cmp dword [esi + 4], 0
mov edi, ecx
mov ebx, eax
jne 0x406bfe
call fcn.00406bac
mov eax, ebp
cmp edi, 8
jb 0x406c89
xor ebx, dword [eax]
xor edx, edx
mov dl, bl
sub edi, 8
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
xor ebx, dword [eax + 4]
add eax, 8
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x406c09
xor edx, edx
jmp 0x406ca3
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [esi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp edi, edx
ja 0x406c8d
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40b4c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x40b4e1
cmp dword [ebp - 8], 0
jg 0x40b4e8
xor eax, eax
jmp 0x40b59d
mov edx, dword [ebp - 8]
test edx, edx
jns 0x40b4f2
add edx, 0xf
sar edx, 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov ecx, 0x10
mov edx, dword [ebp - 4]
add edx, 4
call fcn.0040c258
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x40b584
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040b858
lea edx, [ebp - 0x30]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x18], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x14], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x40b517
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040c258
mov eax, dword [ebp - 0x10]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b7c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov dword [esp], eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
add edx, dword [esp]
shl ebx, 2
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx edi, byte [edx + 1]
mov bl, byte [edx]
lea edi, [edi*4 + 0x41551e]
lea ebx, [ebx*4 + 0x41511e]
mov bl, byte [ebx + eax]
xor bl, byte [edi + eax]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
lea edi, [edi*4 + 0x41591e]
lea edx, [edx*4 + 0x415d1e]
xor bl, byte [edi + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4 + 4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x40b7d2
inc eax
cmp eax, 4
jl 0x40b7d0
mov eax, esi
lea edx, [esp + 4]
shl eax, 4
mov ecx, 0x10
add eax, dword [esp]
add eax, 0x14
call fcn.0040c258
inc esi
cmp esi, 0xa
jl 0x40b7ce
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x40cb0c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x4ccb80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x60000]
push edi
or ebp, 0xffffffff
jmp 0x4ccba2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ccba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ccb98
mov eax, 1
add ebx, ebx
jne 0x4ccbbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ccbcc
jne 0x4ccbeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ccbeb
dec eax
add ebx, ebx
jne 0x4ccbd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ccbb0
add ebx, ebx
jne 0x4ccbe7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ccc3d
xor ecx, ecx
sub eax, 3
jb 0x4ccc03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ccc72
sar eax, 1
mov ebp, eax
jmp 0x4ccc0e
add ebx, ebx
jne 0x4ccc0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ccbdc
inc ecx
add ebx, ebx
jne 0x4ccc1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ccbdc
add ebx, ebx
jne 0x4ccc29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ccc1e
jne 0x4ccc3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ccc1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ccc5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ccc4e
jmp 0x4ccb9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ccc5c
add edi, ecx
jmp 0x4ccb9e
pop esi
mov edi, esi
mov ecx, 0x3441
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ccc7a
cmp byte [edi], 0x11
jne 0x4ccc7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ccc7f
lea edi, [esi + 0xc9000]
mov eax, dword [edi]
or eax, eax
je 0x4cccf7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe5644]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe575c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cccac
mov ecx, edi
jns 0x4cccdb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe5760]
or eax, eax
je 0x4cccf1
mov dword [ebx], eax
add ebx, 4
jmp 0x4cccc9
call dword [esi + 0xe5770]
mov ebp, dword [esi + 0xe5764]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ccd2b
sub esp, 0xffffff80
jmp 0x445cde
Function at 0x40a180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4779ab
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.0046a4d1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00467cbd
mov eax, dword [eax]
push 0x4ad1d0
push eax
call fcn.0045a984
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a75c
test bl, bl
je 0x40a202
push 0x4ad1d0
lea ecx, [esp + 0xc]
call fcn.0046ab38
push 0x4b0d44
lea ecx, [esp + 0xc]
call fcn.0046ab38
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 0x40a23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a75c
jmp 0x40a309
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 0x40a2c2
lea edx, [esp + 0x7c]
push 0x4b0d40
push edx
call fcn.0045a984
add esp, 8
test eax, eax
je 0x40a2c2
lea eax, [esp + 0x7c]
push 0x4b0d3c
push eax
call fcn.0045a984
add esp, 8
test eax, eax
je 0x40a2c2
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 0x40a252
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.0046a75c
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 0x40ab00
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 0x40ab62
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