joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4973b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x49743d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00471fe0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x497400
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x497422
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x497498
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00497108
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x497484
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x497498
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4973c1
pop esi
pop ebx
leave
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x405a12
pop dword [ebp - 0x14]
mov eax, 0x405a12
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf7377fbb
sub dword [ebp - 0x24], 0xa8e53a70
mov dword [ebp - 0x20], 0x16dec693
sub dword [ebp - 0x20], 0xe4ab7a4e
mov dword [ebp - 0x1c], 0xc00ade62
sub dword [ebp - 0x1c], 0x73be9a34
mov dword [ebp - 0x18], 0xb444d5a1
add dword [ebp - 0x18], 0x4bbb2a5f
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x3dcb8620
sub dword [ebp - 0x24], 0xc9591cca
mov dword [ebp - 0x20], 0xd47febe3
sub dword [ebp - 0x20], 0x93138a6e
mov dword [ebp - 0x1c], 0x39b72904
add dword [ebp - 0x1c], 0x29b84368
mov dword [ebp - 0x18], 0x7da4970c
sub dword [ebp - 0x18], 0x7da4970c
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x374fc
push 0
call eax
mov ecx, 0x4953
mov edx, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x14]
mov edi, 0x19da5244
sub edi, 0xaa9bcc72
mov dword [ebp - 8], 0x73e91e2a
mov esi, dword [ebx]
sub dword [ebp - 0xc], 0xbeb668f4
xor esi, edi
add dword [ebp - 4], 0x11e1f224
mov dword [edx], esi
sub dword [ebp - 8], ecx
add edx, 0x18cbf64b
sub edx, 0x18cbf647
add ebx, 0xe992166
add ebx, 0xf166de9e
loop 0x405b19
add eax, 0x37d5f5ed
add eax, 0xc82b2232
mov ebx, eax
add eax, 0x221143e7
sub eax, 0x221143e2
mov ecx, 0x585d3a0b
add ecx, 0xa7e2c5f5
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x401b73
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x400
call fcn.00404550
mov dword [esp], eax
mov eax, dword [0x40b2f8]
push eax
push eax
call fcn.004065f2
lea ecx, [esp + 8]
pop edx
call fcn.00403100
push dword [esp]
push 0
push 0x40a00d
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetTempFileNameA
mov eax, dword [0x40b2f8]
push eax
push eax
push dword [esp + 8]
call fcn.00404570
lea ecx, [0x40b05c]
pop edx
call fcn.00403100
push dword [esp]
call fcn.004045c0
push dword [0x40b05c]
call fcn.004065e0
push dword [0x40b05c]
call fcn.00406653
mov eax, dword [0x40b2f8]
push eax
push eax
call fcn.00406515
lea ecx, [0x40b058]
pop edx
call fcn.00403100
mov eax, dword [esp + 0x14]
call fcn.004045e0
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401c3c
mov edx, dword [0x40b05c]
push dword [0x40b2f8]
call fcn.00407c30
lea ecx, [0x40b058]
pop edx
call fcn.00403100
mov dword [esp + 0xc], 2
jmp 0x401c4e
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401c4e
mov dword [esp + 0xc], 1
pop eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
mov eax, ebx
call fcn.004045e0
mov dword [0x40b050], eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
inc ebx
mov eax, ebx
call fcn.004045e0
mov dword [0x40b054], eax
mov eax, 1
jmp 0x401c81
push dword [esp + 4]
call fcn.00407c90
add esp, 0xc
pop ebx
ret 4
Function at 0x401fec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
xor eax, eax
push eax
push eax
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.004030f0
push 0xa
push dword [esp + 4]
push dword [esp + 0x14]
call sub.KERNEL32.dll_FindResourceA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40203d
push dword [esp + 4]
push dword [esp + 0x10]
call sub.KERNEL32.dll_LoadResource
mov dword [0x40b0a0], eax
push dword [esp + 4]
push dword [esp + 0x10]
call sub.KERNEL32.dll_SizeofResource
mov dword [0x40b09c], eax
mov eax, dword [esp + 4]
jmp 0x402045
push dword [esp]
call fcn.00407c90
add esp, 8
ret 8
Function at 0x403aa5
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x403abd
push dword [esp + 4]
push 0x403a3e
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x403afa
push esi
mov esi, dword [0x40b104]
test esi, esi
je 0x403af9
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x403af1
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x40b104
call fcn.00406f5d
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x403aca
pop edi
pop ebx
pop esi
ret 4
Function at 0x404417
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x130
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push 0x64
pop edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call esi
test eax, eax
je 0x4044bb
mov eax, dword [ebp - 0xc]
dec eax
je 0x40449e
dec eax
jne 0x4044bb
mov eax, dword [ebp - 0x18]
sub eax, 3
je 0x40449a
dec eax
je 0x404496
dec eax
je 0x40447c
dec eax
jne 0x4044bb
push 0x46
pop edi
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], 0x9c
call esi
test eax, eax
je 0x4044bb
cmp byte [ebp - 0x1e], 1
je 0x4044bb
push 0x4b
jmp 0x4044ba
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x404492
dec eax
je 0x40448e
dec eax
jne 0x4044bb
push 0x41
jmp 0x4044ba
push 0x3c
jmp 0x4044ba
push 0x32
jmp 0x4044ba
push 0x14
jmp 0x4044ba
push 5
jmp 0x4044ba
cmp dword [ebp - 0x14], 0
je 0x4044b8
cmp dword [ebp - 0x14], 0xa
je 0x4044b4
cmp dword [ebp - 0x14], 0x5a
jne 0x4044bb
push 0x28
jmp 0x4044ba
push 0x1e
jmp 0x4044ba
push 0xa
pop edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x404d3c
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x40b36c]
call fcn.00406dd0
mov edi, eax
test edi, edi
je 0x404d9e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x404d65
push dword [esp + 0xc]
push edi
call eax
jmp 0x404d9e
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.00407e40
mov ebx, eax
lea eax, [esi + 1]
push eax
push ebx
mov byte [ebx], 0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
sub esi, eax
push esi
call fcn.00407ec0
pop esi
pop ebx
pop edi
ret 8
Function at 0x40647c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 9
call esi
test al, al
jns 0x4064ea
push 0x11
call esi
test al, al
js 0x4064ea
push 0x10
call esi
test al, al
js 0x4064ea
push 0x12
call esi
test al, al
js 0x4064ea
mov esi, dword [sym.imp.USER32.dll_GetFocus]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 4
lea eax, [ebp - 8]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4064ea
push eax
push eax
push 0x44e
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ax, 0x800
je 0x40650e
push str.PB_WindowID
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x40650e
dec eax
push eax
push dword [0x40b374]
call fcn.00406dd0
mov eax, dword [eax + 8]
jmp 0x406510
xor eax, eax
pop esi
leave
ret 4

Function at 0x406653
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x4066c6
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x4066a8
lea ecx, [eax - 1]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x4066a6
cmp dl, 0x5c
je 0x4066a6
cmp dl, 0x2f
jne 0x4066b2
mov eax, ecx
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x406692
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x4066c8
xor eax, eax
leave
ret 4

Function at 0x4066d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x406705
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x406990
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
mov dword [esp + 4], eax
je 0x4069d9
cmp byte [esi], al
je 0x4069d9
mov eax, dword [esp + 0xc]
mov ecx, dword [0x40b384]
push eax
push ecx
call fcn.00406dd0
test eax, eax
je 0x406a07
cmp dword [eax + 4], 0
mov ecx, esi
push edi
lea edi, [ecx + 1]
je 0x4069e0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4069c5
sub ecx, edi
push ecx
push esi
push eax
call fcn.00406a70
pop edi
pop esi
pop ecx
ret 8
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4069e0
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
sub ecx, edi
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
Function at 0x406a10
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x406a69
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x406a68
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40b384]
push eax
push ecx
call fcn.00406dd0
test eax, eax
je 0x406a64
cmp dword [eax + 4], 0
je 0x406a52
push esi
push edi
push eax
call fcn.00406a70
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc

Function at 0x406a70
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x406aa5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x406b1e
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x406b0b
sub ecx, 1
je 0x406af6
sub ecx, 2
je 0x406ae3
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.004066d0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x406b4b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4070a0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
or esi, 0xffffffff
test eax, eax
je 0x407255
push ebx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
je 0x407254
mov eax, dword [0x40b02c]
push ebp
push 0x1000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x40724c
push edi
nop
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x1c]
cmp edx, 8
mov eax, ebp
mov edi, edx
jb 0x40720e
mov ebp, edx
shr ebp, 3
lea ebx, [ebx]
movzx ebx, byte [eax]
xor ebx, esi
and ebx, 0xff
add eax, 1
mov ecx, esi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
add eax, 1
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4090f8]
add eax, 1
sub edi, 8
sub ebp, 1
mov esi, ecx
jne 0x407130
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x40722f
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x4090f8]
add eax, 1
sub edi, 1
jne 0x407212
cmp edx, 0x1000
je 0x407100
mov edx, dword [0x40b02c]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
not eax
pop esi
add esp, 8
ret 4

Function at 0x407260
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1e050f53
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xdfa7aab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x423330
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x423352
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423348
mov eax, 1
add ebx, ebx
jne 0x42336b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423360
jne 0x42337c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423360
xor ecx, ecx
sub eax, 3
jb 0x423390
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423402
mov ebp, eax
add ebx, ebx
jne 0x42339b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4233a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4233cc
inc ecx
add ebx, ebx
jne 0x4233b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4233ad
jne 0x4233c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4233ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4233ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4233dd
jmp 0x42334e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4233ec
add edi, ecx
jmp 0x42334e
pop esi
mov edi, esi
mov ecx, 0x399
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42340a
cmp byte [edi], 1
jne 0x42340a
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 0x42340f
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423487
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23d18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23dc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42343c
mov ecx, edi
jns 0x42346b
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 + 0x23dc8]
or eax, eax
je 0x423481
mov dword [ebx], eax
add ebx, 4
jmp 0x423459
call dword [esi + 0x23dc4]
mov ebp, dword [esi + 0x23dcc]
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 0x4234bb
sub esp, 0xffffff80
jmp 0x40642c
Function at 0xf6a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf6a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf6a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6a06a
add dl, dl
jne 0xf6a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6a0dc
xor eax, eax
add dl, dl
jne 0xf6a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6a17d
add dl, dl
jne 0xf6a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf6a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf6a075
mov eax, 1
add dl, dl
jne 0xf6a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6a0e1
sub eax, ebx
mov ebx, 1
jne 0xf6a128
mov ecx, 1
add dl, dl
jne 0xf6a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf6a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf6a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf6a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6a136
cmp eax, 0x7d00
jae 0xf6a16d
cmp eax, 0x500
jb 0xf6a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6a075
cmp eax, 0x7f
ja 0xf6a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf6a19e
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 0xf6a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10