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

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100ddf12
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ddf12
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ddf12
ret
cmp word [ebx + 4], 0x14c
jne 0x100ddf12
test word [ebx + 0x16], 2
je 0x100ddf12
test word [ebx + 0x16], 0x100
je 0x100ddf12
cmp word [ebx + 0x18], 0x10b
jne 0x100ddf12
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ddf12
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100ddf9e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ddf32
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100c4e7d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ddf12
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100ddf9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100ddf12
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ddf12
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ddf12
ret
cmp word [ebx + 4], 0x14c
jne 0x100ddf12
test word [ebx + 0x16], 2
je 0x100ddf12
test word [ebx + 0x16], 0x100
je 0x100ddf12
cmp word [ebx + 0x18], 0x10b
jne 0x100ddf12
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ddf12
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100ddf9e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ddf32
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100c4e7d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ddf12
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100de055
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100de0ae
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100de055
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100de064
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104e3d07
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100de0b5
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100c4f2b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100de154
add edi, 4
add eax, 2
dec ecx
jne 0x100de09a
call 0x100de101
loope 0x100de0f7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100de151
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100de162
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100de115
cmp eax, ecx
ja 0x100de115
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100de19f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100de195
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100c540a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100de064
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100de0ae
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100de055
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100de064
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104e3d07
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100de0b5
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100c4f2b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100de154
add edi, 4
add eax, 2
dec ecx
jne 0x100de09a
call 0x100de101
loope 0x100de0f7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100de151
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100de162
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100de115
cmp eax, ecx
ja 0x100de115
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100de19f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100de195
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100c540a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x9da058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009da1a8
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 0x9da07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da06a
add dl, dl
jne 0x9da089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da0dc
xor eax, eax
add dl, dl
jne 0x9da096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da17d
add dl, dl
jne 0x9da0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9da0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9da075
mov eax, 1
add dl, dl
jne 0x9da0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da0e1
sub eax, ebx
mov ebx, 1
jne 0x9da128
mov ecx, 1
add dl, dl
jne 0x9da10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9da119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9da13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9da14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da136
cmp eax, 0x7d00
jae 0x9da16d
cmp eax, 0x500
jb 0x9da168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
cmp eax, 0x7f
ja 0x9da170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9da19e
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 0x9da075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xafc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00afc1a8
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 0xafc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafc06a
add dl, dl
jne 0xafc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafc0dc
xor eax, eax
add dl, dl
jne 0xafc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafc17d
add dl, dl
jne 0xafc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xafc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xafc075
mov eax, 1
add dl, dl
jne 0xafc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafc0e1
sub eax, ebx
mov ebx, 1
jne 0xafc128
mov ecx, 1
add dl, dl
jne 0xafc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xafc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xafc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xafc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafc136
cmp eax, 0x7d00
jae 0xafc16d
cmp eax, 0x500
jb 0xafc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafc075
cmp eax, 0x7f
ja 0xafc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xafc19e
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 0xafc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402dd4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x402f1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x406010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f94
xor eax, eax
push ebp
push 0x402f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402fd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f94
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x406010]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x406010], ax
mov esp, ebp
pop ebp
ret

Function at 0x4036bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x407034], 0
je 0x40371d
cmp word [0x407208], 0xd7b2
jne 0x4036e5
cmp dword [0x407210], 0
jbe 0x4036e5
mov eax, 0x407204
call dword [0x407220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403744
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40601c], 0
jne 0x403739
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403b38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x403fb5
test al, 0x10
je 0x403fb9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x404148
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.004039a8
add esp, 0x104
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403b28
xor eax, eax
push ebp
push 0x4041c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403b38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4041c7
lea eax, [ebp - 4]
call fcn.0040383c
ret
Function at 0x404444
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
lea edx, [esp + 0xc]
mov eax, dword [0x4098a4]
mov ecx, 0x40
call fcn.00402cac
mov dword [0x4097f0], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x4097f0
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x404472
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x4097f0]
add eax, esi
add eax, edi
mov dword [esp + 4], 3
mov ecx, dword [esp + 4]
mov edx, eax
shl edx, cl
mov ecx, dword [esp + 4]
neg ecx
shr eax, cl
or edx, eax
mov eax, edx
mov esi, eax
mov dword [ebx*4 + 0x4097f0], esi
lea eax, [edi + esi]
mov dword [esp + 8], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + ebp*4 + 0xc]
add eax, esi
add eax, edi
shl eax, cl
mov ecx, dword [esp + 8]
neg ecx
mov edx, dword [esp + ebp*4 + 0xc]
add edx, esi
add edi, edx
shr edi, cl
or eax, edi
mov edi, eax
mov dword [esp + ebp*4 + 0xc], edi
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc ebp
and ebp, 0x8000000f
jns 0x40450a
dec ebp
or ebp, 0xfffffff0
inc ebp
dec dword [esp]
jne 0x404492
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x404594
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edx, dword [0x40989c]
sub dword [eax + 8], edx
mov edx, dword [0x409898]
sub dword [eax], edx
mov edx, 0x14
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [eax + 0xc], ebx
mov ebx, dword [eax + 4]
mov dword [eax + 8], ebx
mov ebx, dword [eax]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
mov ebx, ecx
add ecx, ecx
inc ecx
imul ebx, ecx
mov esi, 5
mov ecx, esi
mov edi, ebx
shl edi, cl
mov ecx, esi
neg ecx
shr ebx, cl
or edi, ebx
mov ecx, edi
mov esi, ecx
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, ecx
inc ecx
imul ebx, ecx
mov dword [esp], 5
mov ecx, dword [esp]
mov edi, ebx
shl edi, cl
mov ecx, dword [esp]
neg ecx
shr ebx, cl
or edi, ebx
mov ecx, edi
mov ebx, ecx
mov ecx, dword [eax + 8]
mov edi, edx
add edi, edi
sub ecx, dword [edi*4 + 0x4097f4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 8]
mov edi, dword [esp + 4]
shr edi, cl
mov ecx, dword [esp + 8]
neg ecx
mov ebp, dword [esp + 4]
shl ebp, cl
or edi, ebp
mov ecx, edi
xor ecx, esi
mov dword [eax + 8], ecx
mov ecx, dword [eax]
mov edi, edx
add edi, edi
sub ecx, dword [edi*4 + 0x4097f0]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov edi, dword [esp + 0xc]
shr edi, cl
mov ecx, esi
neg ecx
mov esi, dword [esp + 0xc]
shl esi, cl
or edi, esi
mov ecx, edi
xor ecx, ebx
mov dword [eax], ecx
dec edx
test edx, edx
jne 0x4045b1
mov edx, dword [0x4097f4]
sub dword [eax + 0xc], edx
mov edx, dword [0x4097f0]
sub dword [eax + 4], edx
mov al, 1
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404764
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4098ec
mov esi, 0x4098f0
mov edi, 0x4098f4
mov ebp, 0x409904
mov byte [0x4098cc], 1
mov eax, dword [0x4098e0]
push eax
call sub.kernel32.dll_LockResource
mov dword [0x4098e4], eax
mov eax, dword [0x4098dc]
push eax
mov eax, dword [0x4097e0]
push eax
call sub.kernel32.dll_SizeofResource
call fcn.00402bb4
mov dword [0x4098e8], eax
mov eax, dword [0x4098e4]
mov dword [ebx], eax
mov eax, dword [0x4098e8]
mov dword [esi], eax
mov eax, 0x40488c
call fcn.00404518
call fcn.00404444
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov eax, dword [0x4098dc]
push eax
mov eax, dword [0x4097e0]
push eax
call sub.kernel32.dll_SizeofResource
xor edx, edx
mov dword [0x40990c], eax
mov dword [0x409910], edx
jmp 0x404833
mov edx, edi
mov eax, dword [ebx]
mov ecx, 0x10
call fcn.00402cac
mov eax, edi
call fcn.00404594
mov edx, dword [esi]
mov eax, edi
mov ecx, 0x10
call fcn.00402cac
add dword [ebp], 0x10
adc dword [ebp + 4], 0
mov eax, dword [ebx]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x40990c]
mov edx, dword [0x409910]
sub eax, dword [ebp]
sbb edx, dword [ebp + 4]
cmp edx, 0
jne 0x404851
cmp eax, 0x10
jae 0x4047fa
jmp 0x404853
jge 0x4047fa
call fcn.00404588
mov eax, dword [0x4098e8]
xor edx, edx
add eax, dword [0x40990c]
adc edx, dword [0x409910]
sub eax, 1
sbb edx, 0
mov dword [ebx], eax
mov eax, dword [ebx]
movzx eax, byte [eax]
mov byte [0x409914], al
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x6be11555
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
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
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7ba132e3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x15be4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.15be41a8
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 0x15be407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15be406a
add dl, dl
jne 0x15be4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15be40dc
xor eax, eax
add dl, dl
jne 0x15be4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15be417d
add dl, dl
jne 0x15be40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15be40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15be40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15be40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15be40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x15be4075
mov eax, 1
add dl, dl
jne 0x15be40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15be40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15be40e1
sub eax, ebx
mov ebx, 1
jne 0x15be4128
mov ecx, 1
add dl, dl
jne 0x15be410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15be4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15be4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15be4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x15be413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15be414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15be4136
cmp eax, 0x7d00
jae 0x15be416d
cmp eax, 0x500
jb 0x15be4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15be4075
cmp eax, 0x7f
ja 0x15be4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15be4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x15be419e
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 0x15be4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6d5c2e7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x6d5c2e8d
pop dword [ebp - 0x48]
mov eax, 0x6d5c2e8d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x11ddbf81
sub dword [ebp - 0x58], 0xc38b7a36
mov dword [ebp - 0x54], 0xfb6d8c84
add dword [ebp - 0x54], 0x36c5bfc1
mov dword [ebp - 0x50], 0x5897a1f0
sub dword [ebp - 0x50], 0xc4b5dc2
mov dword [ebp - 0x4c], 0xb2968eb9
sub dword [ebp - 0x4c], 0xb2968eb9
lea eax, [ebp - 0x58]
push eax
mov eax, 0xc7571bb2
sub eax, 0x59fadb3a
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x183a5b2e
sub dword [ebp - 0x58], 0xa3c7f1d8
mov dword [ebp - 0x54], 0x65ddf703
add dword [ebp - 0x54], 0xdb8e6a72
mov dword [ebp - 0x50], 0xcdcac10c
sub dword [ebp - 0x50], 0x6a5b54a0
mov dword [ebp - 0x4c], 0xccf18bbc
add dword [ebp - 0x4c], 0x330e7444
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36623
push 0
call eax
mov ecx, 0x4bc5c386
sub ecx, 0x4bc57c42
mov edi, eax
mov esi, 0xdc6b2af1
sub esi, 0x6f0e94f1
add esi, dword [ebp - 0x48]
mov ebx, 0x8152a727
sub dword [ebp - 0x2c], esi
mov edx, dword [esi]
add dword [ebp - 0x30], 0x5d1f2f60
sub edx, ebx
xor dword [ebp - 0x10], 0xce1e083f
mov dword [edi], edx
add edi, 0x4a1c2981
sub edi, 0x4a1c297d
add esi, 0x3f611d78
sub esi, 0x3f611d74
loop 0x6d5c2f9f
add eax, 0x283ffe83
sub eax, 0x283eeea0
mov ebx, eax
add eax, 0xda137325
add eax, 0x25ec8ce0
mov ecx, 0xeebac1d3
add ecx, 0x7ea13e2d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret