joyce8/EMBER2024-capa huggingface dataset:
Function at 0x552da4
Capabilities:
Encode data using xor

Disassembly:
lea edx, [eax + 1]
imul edx, edx, 0x7425
xor dx, word [eax*2 + 0x58d6ec]
inc eax
mov word [ebp + eax*2 - 0x536], dx
cmp eax, 8
jl 0x4244c6
mov ecx, dword [ebp - 0x538]
jmp dword [0x4244f9]
call esi
add esp, 0xc
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x4244c6
cmp edi, 0xffffffff
je 0x4244c6
mov dword [ebp - 0x330], eax
push 0x52d48a
ret
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x58d6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x522c60
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x552da4
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
jmp 0x522c5c
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x58d6d4]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x552da4
push ebx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x30c]
push eax
jmp 0x4c53a4
Function at 0x5552ab
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
call eax
mov esi, eax
cmp dword [0x696674], ebx
jne 0x41c4d8
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x696674], ax
call edi
mov word [0x696676], ax
mov edx, dword [0x696674]
mov ebx, dword [0x696670]
push edx
call fcn.0049e9ae
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004add86
mov esp, ebp
pop ebp
ret 8
mov dword [0x696670], eax
mov word [eax + 0x10], cx
jmp 0x47328a
mov edx, dword [0x696674]
push edx
mov ebx, eax
call fcn.0049e9ae
mov eax, dword [0x696670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
push ecx
mov ecx, dword [ebp - 0x120]
push edx
push ecx
push edi
jmp 0x41c4b2
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
mov dword [ebp - 0x117], 0x3e8
mov word [ebp - 0x113], 0xc200
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x56eab9
mov eax, dword [0x696300]
cmp eax, 1
jne 0x4afc0f
mov esi, 0x18f
jmp 0x4afc0a
jmp 0x4d7d98
cmp eax, 2
jne 0x4afc1f
mov esi, eax
jmp 0x4d7d98
cmp eax, 3
jne 0x4afc2f
mov esi, eax
jmp 0x4d7d98
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + 0x58d2c0]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
jmp 0x56eaa2
xor cx, word [eax*2 + 0x58d2d0]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 6
jl 0x53abac
push ebx
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x111], ax
mov eax, dword [0x696670]
mov dword [ebp - 0x11b], esi
jmp 0x532f78
cmp eax, ebx
jne 0x473272
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x10c]
mov dword [eax + 0xc], edx
jmp 0x473264
cmp eax, 0x295a
jne 0x53ab7e
mov esi, 4
jmp 0x4d7d98
cmp eax, 0x3839
jne 0x53ab93
mov esi, 4
jmp 0x4d7d98
cmp eax, 0x3ad7
jne 0x53aba8
mov esi, 4
jmp 0x4d7d98
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ba1
jmp 0x4d7d60
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6962fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
jmp 0x490df6
cmp eax, 6
jl 0x4afc33
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x4d7d83
cmp eax, 0xa
jne 0x4d7d98
mov eax, dword [0x696304]
cmp eax, 0x2800
jne 0x53ab69
mov esi, 4
push 0x53ab64
ret
Function at 0x56d10f
Capabilities:
Encode data using xor

Disassembly:
push eax
push edi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x33b0], 0x3e8
mov byte [ebp - 0x5f4], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x72a4
xor cx, word [eax*2 + 0x58d7c4]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
push 0x49da5a
ret
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x58d794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x42ac7d
lea edx, [ebp - 0x33b4]
jmp 0x55299e
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411889
xor ecx, ecx
lea edx, [ecx + 1]
imul edx, edx, 0x1991
xor dx, word [ecx*2 + 0x58d7b4]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
cmp ecx, 6
jl 0x5529bf
push eax
lea eax, [ebp - 0x318c]
jmp 0x41187e
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.004c321c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
jmp 0x42ac72

Function at 0x57194e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x571980
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x571964
pop esi
pop ebx
pop ebp
ret 8

Function at 0x571984
Capabilities:
Encode data using xor

Disassembly:
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x69640c], eax
mov byte [0x696650], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x69640c]
lea edx, [ecx + eax*2]
xor eax, eax
mov dword [esi], edx
test edi, edi
jle 0x4f7537
lea ebx, [ebx]
jmp 0x4f751c
mov edx, dword [esi]
lea ecx, [eax + 1]
imul ecx, dword [ebp + 8]
xor cx, word [ebx + eax*2]
inc eax
mov word [edx + eax*2 - 2], cx
cmp eax, edi
jl 0x4f751c
mov eax, esi
pop ebp
ret 8
push ebp
mov ebp, esp
cmp byte [0x696650], 0
jne 0x457d8c
jmp 0x457d72
Function at 0x40b590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x441064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x2a4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push 0
mov ecx, 0x23
mov eax, 0x1c
cmovne eax, ecx
mov ebx, edx
push 0
or eax, 0x8000
push eax
push 0
call dword [0x42f1f4]
test eax, eax
js 0x40b675
push 0x27
lea eax, [ebp - 0x9c]
push eax
lea eax, [esi + 0x8c]
push eax
call dword [0x42f268]
test eax, eax
js 0x40b675
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x4c]
push edx
push str._d._d._d._d
push 0x24
push eax
call fcn.0040b230
add esp, 0x1c
test eax, eax
js 0x40b675
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2a4]
push eax
push str._lsApplicationsCache_lsv_ls.msi
push edi
call fcn.0040df30
add esp, 0x14
test eax, eax
js 0x40b675
push 1
push 1
push dword [edi]
push ebx
call fcn.0040e5a0
test eax, eax
jns 0x40b675
cmp dword [ebp + 8], 1
jne 0x40b675
push edi
push 0
mov edx, ebx
mov ecx, esi
call fcn.0040b590
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b68
mov esp, ebp
pop ebp
ret

Function at 0x40b690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x441064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x2a4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push 0
mov ecx, 0x23
mov eax, 0x1c
cmovne eax, ecx
mov ebx, edx
push 0
or eax, 0x8000
push eax
push 0
call dword [0x42f1f4]
test eax, eax
js 0x40b775
push 0x27
lea eax, [ebp - 0x9c]
push eax
lea eax, [esi + 0x8c]
push eax
call dword [0x42f268]
test eax, eax
js 0x40b775
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x4c]
push edx
push str._d._d._d._d
push 0x24
push eax
call fcn.0040b230
add esp, 0x1c
test eax, eax
js 0x40b775
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2a4]
push eax
push str._lsApplicationsCache_lsv_ls.mst
push edi
call fcn.0040df30
add esp, 0x14
test eax, eax
js 0x40b775
push 1
push 1
push dword [edi]
push ebx
call fcn.0040e5a0
test eax, eax
jns 0x40b775
cmp dword [ebp + 8], 1
jne 0x40b775
push edi
push 0
mov edx, ebx
mov ecx, esi
call fcn.0040b690
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b68
mov esp, ebp
pop ebp
ret
Function at 0x40f3f0
Capabilities:
Get user security identifier
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x441064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x410
mov dword [ebp - 0xc40], eax
lea eax, [ebp - 0x414]
push ebx
push eax
mov dword [ebp - 0xc3c], ebx
mov dword [ebp - 0xc38], ebx
call fcn.00412cd0
push esi
push edi
push str._s_s
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00409270
lea eax, [ebp - 0x414]
push eax
push str.Resolve__:_szAccountName___s_n
lea eax, [ebp - 0xc34]
push 0x410
push eax
call fcn.00409270
add esp, 0x30
lea eax, [ebp - 0xc44]
push eax
lea eax, [ebp - 0xc38]
push eax
push ebx
lea eax, [ebp - 0xc3c]
push eax
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [0x42f034]
mov eax, dword [ebp - 0xc3c]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40f4b2
push eax
push 8
call esi
push eax
call edi
mov ebx, eax
mov ecx, dword [ebp - 0xc38]
test ecx, ecx
je 0x40f4ca
add ecx, ecx
push ecx
push 8
call esi
push eax
call edi
mov edi, eax
jmp 0x40f4cc
xor edi, edi
test ebx, ebx
je 0x40f55a
lea eax, [ebp - 0xc44]
push eax
lea eax, [ebp - 0xc38]
push eax
push edi
lea eax, [ebp - 0xc3c]
push eax
push ebx
lea eax, [ebp - 0x414]
push eax
push 0
call dword [0x42f034]
test eax, eax
je 0x40f51c
push dword [ebp - 0xc40]
push ebx
call fcn.0040f5c4
test eax, eax
jne 0x40f54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSidFromEnumSess__:_ConvertSidToStringSid___err___d_n
jmp 0x40f528
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UserByExplorer__:_LookupAccountNameW___err___d_n
lea eax, [ebp - 0xc34]
push 0x410
push eax
call fcn.00409270
add esp, 0x10
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
push ebx
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call ebx
jmp 0x40f560
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x40f56c
push edi
push 0
call esi
push eax
call ebx
mov ebx, dword [ebp - 0xc40]
lea eax, [ebp - 0xc34]
push dword [ebx]
push str.Resolve__:_lpszSid___s_n
push 0x410
push eax
call fcn.00409270
add esp, 0x10
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00410b68
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429008]
jne 0x40100a
repz ret
jmp fcn.00401dd8

Function at 0x405eea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403abe
and dword [ebp - 4], 0
cmp dword [0x42b25c], 0
mov ebx, eax
jne 0x405f9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40604c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40604c
push eax
call fcn.00403a4c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b25c], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b260], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], 0x426974
push edi
mov dword [0x42b264], eax
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b26c], eax
test eax, eax
je 0x405f9b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b268], eax
mov eax, dword [0x42b268]
cmp eax, ebx
je 0x405ff3
cmp dword [0x42b26c], ebx
je 0x405ff3
push eax
call fcn.00403ac7
push dword [0x42b26c]
mov esi, eax
call fcn.00403ac7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405ff3
test edi, edi
je 0x405ff3
call esi
test eax, eax
je 0x405fea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405fea
test byte [ebp - 0xc], 1
jne 0x405ff3
or dword [ebp + 0x10], 0x200000
jmp 0x40602c
mov eax, dword [0x42b260]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40602c
mov eax, dword [0x42b264]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b25c]
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40604c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40604e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425290
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00408f60
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
cmp ebx, 0x182
jne 0x4252c9
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x4252d9
cmp ebx, 0x19f
jne 0x4252d9
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x42535f
push esi
jmp 0x4252f0
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
call fcn.00425280
mov dl, byte [ebp - 0x1008]
mov eax, dword [ebp - 0x100c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x425359
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.yodawelizukipa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc edi
cmp edi, ebx
jl 0x4252f0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x425379
mov dword [0x520f40], 0xa62e7790
mov dword [0x520f44], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x425390
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x520e0c]
push ebx
push esi
mov esi, dword [0x520c54]
mov ebx, eax
cmp eax, 0x5dd
jne 0x4253b2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x42a000]
call fcn.00425250
cmp dword [0x520e0c], 0x2f
jne 0x4253cd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00425290
add esp, 4
cmp dword [0x520e0c], 0x568
pop esi
pop ebx
jne 0x4253fa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x110e008], 0x8088405
inc edx
mov dword [ebx + 0x110e008], 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 0x10f19f2
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 0x10f19f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x10f2d6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x111073c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x111073c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x110f538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10f2d72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a9e14a4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x19ef58ef
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219