joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e26f6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e2794
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e2794
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e2794
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e2794
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1d2b]
pop edi
test eax, eax
jne 0x5e2787
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d1d2b]
pop edi
test eax, eax
je 0x5e2794
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e2819
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e28c5
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5e285a
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d1d2b]
pop edi
pop ecx
test eax, eax
je 0x5e28b8
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e2898
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5e28ad
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e2841
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5e28cc
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e2ae6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e2b60
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005e2a8b
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x12451b72]
pop edi
test eax, eax
jne 0x5e2b56
pop ecx
jmp 0x5e2b67
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e2b0f
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5e2d0d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5e2e61
cmp dword [ebp + 0xc], 0
jne 0x5e2e61
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5e2d54
sub eax, dword [ebp + 0x10]
js 0x5e2e61
je 0x5e2e61
cmp eax, dword [ebp + 0x14]
jl 0x5e2e61
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e2e61
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e2e61
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d1d2b]
pop edi
test eax, eax
je 0x5e2e61
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a70c4]
push eax
call fcn.005e1d75
pop edi
test eax, eax
je 0x5e2e61
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a70c8]
push eax
call fcn.005e1d75
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e2e54
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5e2e61
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e2e41
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e2e0f
push dword [ebp + 8]
call fcn.005e3c03
jmp 0x5e2e68
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5e31f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5e32e2
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5e32e2
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5e328e
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5e32e2
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a7224]
pop edi
pop ecx
test eax, eax
jne 0x5e3247
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5e3294
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5e32e2
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5e32e2
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5e32e2
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5e32e2
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005e313c
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x10001b50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10001b8f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10001cab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10001c1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x10001c17
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001bf0
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10001930
add esp, 0xc
jmp 0x10001b7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10001b30
add esp, 8
test eax, eax
jne 0x10001c3d
xor eax, eax
jmp 0x10001cb0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001c74
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001980
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x10001b7d
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100027b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x12600
mov ecx, dword [ebp - 4]
push ecx
push 0x10004070
call fcn.10001000
add esp, 8
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x98b15c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98b183
call fcn.0092d6a8
mov dword [eax], esi
call fcn.0092d695
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092e2ea
mov eax, esi
jmp 0x98b1d8
test dword [ebp + 0xc], 0xfffffff9
jne 0x98b169
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98b1b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092d6bb
pop ecx
call fcn.0092d695
mov eax, dword [eax]
jmp 0x98b1d8
test al, 0x10
jne 0x98b1d6
test al, 1
je 0x98b1d6
test byte [ebp + 0xc], 2
je 0x98b1d6
call fcn.0092d6a8
mov dword [eax], 5
call fcn.0092d695
mov dword [eax], 0xd
jmp 0x98b1a7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4014b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push 0x403100
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4014ee
push 0x1b5c
push dword [ebp + 8]
call fcn.00401742
jmp 0x40157b
mov dword [0x4038a8], eax
push 0
push dword [0x4038a8]
call sub.KERNEL32.dll_GetFileSize
mov dword [0x4038ac], eax
add eax, dword [0x402084]
push eax
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x4038b0], eax
or eax, eax
jne 0x40152b
push 0x1b5d
push dword [ebp + 8]
call fcn.00401742
jmp 0x401570
push 0
push 0x4038c4
push dword [0x4038ac]
push dword [0x4038b0]
push dword [0x4038a8]
call sub.KERNEL32.dll_ReadFile
or eax, eax
jne 0x40155c
push 0x1b5d
push dword [ebp + 8]
call fcn.00401742
jmp 0x401570
mov eax, 1
leave
ret 4
push dword [0x4038a8]
call sub.KERNEL32.dll_CloseHandle
mov eax, 0
leave
ret 4

Function at 0x4015cb
Capabilities:
Copy file

Disassembly:
pushal
push 0x403100
call sub.KERNEL32.dll_lstrlenA
sub eax, 2
push eax
push 0x403100
push section..data
call sub.KERNEL32.dll_lstrcpynA
push 0x402092
push section..data
call sub.KERNEL32.dll_lstrcatA
push 0
push section..data
push 0x403100
call sub.KERNEL32.dll_CopyFileA
popal
ret

Function at 0x401775
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [0x4038b0]
cmp word [esi], 0x5a4d
jne 0x40180a
mov eax, dword [esi + 0x3c]
mov dword [0x403904], eax
add esi, dword [0x403904]
cmp dword [esi], 0x4550
jne 0x40181d
movsx eax, word [esi + 6]
mov dword [0x4038ec], eax
mov eax, dword [esi + 0x28]
mov dword [0x4038f0], eax
mov eax, dword [esi + 0x34]
mov dword [0x4038f4], eax
mov eax, dword [esi + 0x38]
mov dword [0x4038f8], eax
mov eax, dword [esi + 0x3c]
mov dword [0x4038fc], eax
mov eax, dword [esi + 0x50]
mov dword [0x403908], eax
mov eax, dword [esi + 0x54]
mov dword [0x403900], eax
mov eax, dword [0x4038ec]
mov ecx, 0x28
mul ecx
mov ecx, eax
lea edi, [0x403300]
add esi, 0xf8
rep movsb byte es:[edi], byte [esi]
mov dword [0x40390c], eax
sub eax, 0x28
mov dword [0x403910], eax
mov eax, 1
leave
ret 4
push 0x1b5e
push dword [ebp + 8]
call fcn.00401742
xor eax, eax
leave
ret 4
push 0x1b5f
push dword [ebp + 8]
call fcn.00401742
xor eax, eax
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7c6e011a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x551e178a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40f2e6
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [edi - 0x52]
mov dword [ecx - 0x36f600b5], ecx
leave
xor byte [esi - 0x594fca72], ah
xor al, 0x86
movsb byte es:[edi], byte [esi]
pop ecx
xchg byte [ebx], ah
xor al, 0x8a
insb byte es:[edi], dx
cmpsb byte [esi], byte es:[edi]
inc edx
mov dword [ecx - 0x3b597677], ecx
insb byte es:[edi], dx
pushfd
mov dword [ecx + 0x34a68989], ecx
and dword [esi + 0x2ea68632], 0xffffff8a
cmpsb byte [esi], byte es:[edi]
lodsb al, byte [esi]
mov cl, cl
xchg ecx, eax
mov dl, 0x13
aam 0x83
mov dword [edi + 0x2f], ebp
mov dword [0x91c97c84], eax
xor byte [esi - 0x4fcaca72], ah
out dx, eax
scasd eax, dword es:[edi]
insb byte es:[edi], dx
cmpsb byte [esi], byte es:[edi]
cmp byte [ecx + 0x23898989], cl
sub byte [edx - 0x5c78cb6d], cl
or byte [ecx - 0x77], bh
out dx, al
mov ecx, ecx
sub byte [esi - 0x3678d737], al
sub byte [ebx + 0x49c2278b], al
mov dword [esi + 0x79a68634], esp
test byte [ecx + edx*4 - 0x79c959b6], ah
and edi, dword [ecx]
test byte [esi + 0x3a], ch
mov dword [ecx + 0x32a68989], ecx
mov ah, byte [ebx]
mov edx, 0x8942236c
mov dword [ecx - 0x4d0e4e77], ecx
adc edx, esp
or dword [ecx - 0x5b7159d0], 0xffffff8e
xor dword [eax + 0x238aafef], 0x34
mov bh, byte [eax + 0x75757559]
leave
sub byte [edx - 0x367fd737], cl
sub byte [ebp - 0x3679d737], al
sub byte [ebx - 0x76580675], al
mov dword [esp + edx*2 - 0x78cbdc7f], esp
sub byte [esi - 0x747cd737], al
stc
cmpsd dword [esi], dword es:[edi]
mov dword [ecx + 0x238154a4], ecx
xor al, 0x87
mov cl, 0xf1
mov dl, 0xa6
xor al, 0x87
cmpsb byte [esi], byte es:[edi]
dec esp
xor dl, byte [edi + ebp*8 + 0x7c68a68a]
xchg byte [esi - 0x2a477c0b], ah
mov esi, ecx
dec ebp
leave
leave
out dx, al
mov edi, ebp
leave
out 0x80, eax
leave
out 0x86, eax
out dx, al
mov ecx, ecx
push 0xe7c97c7c
test ecx, ecx
push 0xc48b7c7c
cmpsd dword [esi], dword es:[edi]
mov dword [ecx - 0xe7eab5c], ecx
xchg esp, eax
xor byte [esi + 0x778ea48e], ah
mov al, 0x29
sub al, byte [ebx - 0x7676b644]
sub byte [eax], al
push edi
cdq
enter 0xffffffffffff8979, 0xffffffffffffffa6
xchg byte ss:[ebx], ah
dec ecx
mov eax, 0x5d4b7959
mov dword [ecx - 0x70d35b77], ecx
mov dword [ebx - 0x37316dcc], edx
jns 0x40f2cc
and dword [edi + 0x2689f4d2], eax
invalid

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x485e1e7c
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
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
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6f5a3c38
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0xcf0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcf01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcf007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf006a
add dl, dl
jne 0xcf0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf00dc
xor eax, eax
add dl, dl
jne 0xcf0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf017d
add dl, dl
jne 0xcf00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcf00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcf0075
mov eax, 1
add dl, dl
jne 0xcf00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf00e1
sub eax, ebx
mov ebx, 1
jne 0xcf0128
mov ecx, 1
add dl, dl
jne 0xcf010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcf013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf0136
cmp eax, 0x7d00
jae 0xcf016d
cmp eax, 0x500
jb 0xcf0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf0075
cmp eax, 0x7f
ja 0xcf0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcf019e
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 0xcf0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret