joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006fb60
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a36fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x224], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
jne 0x1006fd71
push 0x105
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x105
lea eax, [ebp - 0x220]
push eax
push 0x100ac744
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1006fd71
mov edi, dword [0x101123cc]
mov ecx, edi
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x1006fd69
mov edx, dword [ebp - 0x224]
nop word [eax + eax]
cmp dword [eax + 0x10], edx
jae 0x1006fc4a
mov eax, dword [eax + 8]
jmp 0x1006fc4e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1006fc40
cmp ecx, edi
je 0x1006fd69
cmp edx, dword [ecx + 0x10]
jb 0x1006fd69
mov esi, dword [edi]
cmp esi, edi
je 0x1006fd46
nop
mov ebx, dword [esi + 0x10]
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x244]
call fcn.10027510
mov dword [ebp - 4], 0
cmp ebx, dword [ebp - 0x224]
jne 0x1006fcc5
cmp dword [ebp - 0x230], 0x10
lea eax, [ebp - 0x244]
push dword [ebp - 0x234]
cmovae eax, dword [ebp - 0x244]
mov ecx, 0x100b9abc
push eax
call fcn.10021da0
mov eax, dword [esi + 0x10]
mov dword [0x100b9adc], eax
mov byte [0x100b9ad8], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x1006fd02
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006fcf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fd63
push edx
push ecx
call fcn.1009b7cf
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006fd28
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006fd24
cmp esi, dword [eax + 8]
jne 0x1006fd24
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006fd14
mov esi, eax
jmp 0x1006fd3e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1006fd3e
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1006fd32
cmp esi, edi
jne 0x1006fc70
push 0
push 0
push 0
push 0x1002cd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
jmp 0x1006fd73
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100941f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
push esi
mov esi, dword [ebp + 8]
xor ecx, eax
mov dword [ebp - 4], esi
imul ecx, ecx, 0x1000193
mov eax, ebx
sar eax, 0x10
movzx eax, al
push edi
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul edx, ecx, 0x1000193
mov ecx, dword [0x10117c28]
and edx, dword [0x10117c34]
mov edi, dword [ecx + edx*8]
lea ecx, [ecx + edx*8]
mov edx, dword [0x10117c20]
add ecx, 4
mov eax, edi
mov dword [ebp - 4], ecx
nop
cmp edi, edx
jne 0x10094268
mov ecx, edx
jmp 0x1009426c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10094288
cmp dword [eax + 8], ebx
je 0x1009427c
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
jmp 0x10094260
cmp eax, edx
je 0x10094288
push 1
add eax, 0xc
push eax
jmp 0x1009428f
push 0
push 0x100a77bc
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.10021da0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10098740
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d670
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp + 8]
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x14], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
add edx, 4
mov dword [ebp - 0x20], edx
mov eax, dword [ebx + ecx*8]
mov esi, eax
mov edx, dword [edx]
lea ecx, [ecx*8 + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
cmp eax, edx
jne 0x100987d8
mov eax, edx
jmp 0x100987dd
mov eax, dword [ecx + ebx]
mov eax, dword [eax]
cmp esi, eax
je 0x10098827
mov ebx, dword [edi]
cmp dword [esi + 8], ebx
je 0x100987f2
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
jmp 0x100987d0
mov ecx, esi
mov edi, esi
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x18]
cmp edi, edx
jne 0x1009880a
mov eax, edx
jmp 0x10098812
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x1009881f
cmp ebx, dword [esi + 8]
jne 0x1009881f
mov esi, dword [esi]
jmp 0x10098802
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], esi
jne 0x1009882b
mov edi, edx
mov esi, edx
mov eax, edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, esi
je 0x10098840
mov eax, dword [eax]
inc ebx
cmp eax, esi
jne 0x10098836
mov dword [ebp - 0x14], ebx
cmp edi, dword [edx]
jne 0x10098881
cmp esi, edx
jne 0x10098881
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.10021ef0
mov ecx, dword [ebp - 0x1c]
push 8
call fcn.10021f30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
ret 4
cmp edi, esi
je 0x10098861
mov ebx, dword [ebp - 0x1c]
push edi
mov edi, dword [edi]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.10098a40
cmp edi, esi
jne 0x10098888
mov eax, dword [ebp - 0x14]
jmp 0x10098863
Function at 0x10098910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
mov esi, dword [edx + 0xc]
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 4]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea ecx, [ecx*8 + 4]
add ecx, esi
mov esi, eax
mov dword [ebp - 0xc], ecx
nop dword [eax]
cmp esi, edx
jne 0x10098988
mov ecx, edx
jmp 0x1009898c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100989a2
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x1009899e
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
jmp 0x10098980
mov dword [edi], eax
jmp 0x100989a4
mov dword [edi], edx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b337
mov esp, ebp
pop ebp
ret 8

Function at 0x10098a40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 8], eax
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10098ac6
cmp eax, edi
jne 0x10098abe
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10098ace
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10098ace
cmp eax, edi
jne 0x10098ad1
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0x50]
dec dword [ebx + 8]
call fcn.10021990
push 0x5c
push edi
call fcn.1009b7cf
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.1009b337
mov esp, ebp
pop ebp
ret 8
Function at 0x866b20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d1000]
push edi
or ebp, 0xffffffff
jmp 0x866b42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x866b49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x866b38
mov eax, 1
add ebx, ebx
jne 0x866b5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x866b6c
jne 0x866b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x866b8b
dec eax
add ebx, ebx
jne 0x866b78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x866b50
add ebx, ebx
jne 0x866b87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x866bdd
xor ecx, ecx
sub eax, 3
jb 0x866ba3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x866c12
sar eax, 1
mov ebp, eax
jmp 0x866bae
add ebx, ebx
jne 0x866bae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x866b7c
inc ecx
add ebx, ebx
jne 0x866bbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x866b7c
add ebx, ebx
jne 0x866bc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x866bbe
jne 0x866bda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x866bbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x866bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x866bee
jmp 0x866b3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x866bfc
add edi, ecx
jmp 0x866b3e
pop esi
mov edi, esi
mov ecx, 0x69e9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x866c1a
cmp byte [edi], 0x13
jne 0x866c1a
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 0x866c1f
lea edi, [esi + 0x45d000]
mov eax, dword [edi]
or eax, eax
je 0x866c97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46ab94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46acd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x866c4c
mov ecx, edi
jns 0x866c7b
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 + 0x46acd8]
or eax, eax
je 0x866c91
mov dword [ebx], eax
add ebx, 4
jmp 0x866c69
call dword [esi + 0x46ace8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x866cc8
cmp al, 0xef
ja 0x866cbb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x866c9d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x866caa
mov ebp, dword [esi + 0x46acdc]
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 0x866cfc
sub esp, 0xffffff80
jmp 0x4af4f0
Function at 0x577fc0
Capabilities:
Encode data using xor

Disassembly:
cmp edx, dword [edi + 0x167e94e6]
je 0x577f8e
in eax, dx
add eax, 0x9c79e505
les ebx, [ebx]
mov edx, 0xa8696a64
dec esp
and ebx, edx
in eax, dx
push eax
sub eax, 0x61734e9d
invalid
out 0x28, al
pop ecx
add edi, dword [eax + 0x379f2608]
adc eax, 0x8823ece
pop edi
mov al, 0x84
sbb al, 0x93
shl dword [esi], 1
cmc
arpl word [eax], cx
wait
dec ebp
dec esp
popal
or eax, 0x9a36827c
sbb cl, byte [edx - 0x662c6633]
fild word [ecx + ebp + 0x33]
sub eax, 0x7018d3ad
lodsb al, byte [esi]
push 0x10
push 0x3dc01404
call 0x696ffd0
test al, 7
jae 0xd0ed215d
salc
imul ecx, dword [edx + 0xee81ecf], 0xb
stosb byte es:[edi], al
or byte [edi], cl
or dword [eax + 0x3189ce6], edx
invalid
Function at 0xb97afd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b97afd
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x713c15aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
jmp 0x713c165f
mov eax, dword [ebp - 8]
lea edx, [eax*4]
mov eax, dword [ebp - 0x20]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [esp], eax
call fcn.713c14db
cmp dword [ebp + 0xc], eax
jne 0x713c165b
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x24]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x713c166a
add dword [ebp - 8], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 8], eax
jb 0x713c1614
cmp dword [ebp - 4], 0
je 0x713c1686
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x713c1689
mov eax, dword [ebp - 4]
leave
ret

Function at 0x714485f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.71449140
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.71449140
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x71448650
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x714e607c]
test esi, esi
jle 0x71448770
mov eax, dword [0x714e6080]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x71448684
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x71448707
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x71448670
mov dword [esp], ebx
call fcn.71448e40
mov edi, eax
test eax, eax
je 0x71448797
mov eax, dword [0x714e6080]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.71448f80
mov edx, dword [0x714e6080]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x71448777
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x71448700
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x71448710
add dword [0x714e607c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x714e6080]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x71448700
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.714485f0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x7144868e
mov eax, dword [0x714e6080]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.714485f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.714485f0
lea esi, [esi]
nop

Function at 0x71448ab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x714e608c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x714e6084]
sub esp, 4
test ebx, ebx
je 0x71448b05
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x71448afe
test esi, esi
je 0x71448afe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x71448ae0
mov dword [esp], 0x714e608c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x71448e40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x713c0000], 0x5a4d
jne 0x71448e65
mov ecx, dword [0x713c003c]
cmp dword [ecx + 0x713c0000], 0x4550
lea edx, [ecx + 0x713c0000]
je 0x71448e70
ret
cmp word [ecx + 0x713c0018], 0x10b
jne 0x71448e65
push esi
movzx eax, word [ecx + 0x713c0014]
push ebx
movzx esi, word [ecx + 0x713c0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x713c0000
test si, si
je 0x71448eb8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x71448eae
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x71448eba
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x71448ea0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cc40
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 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
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 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
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 0x41cc68
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