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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
cmp eax, ebx
jne 0x424cf1
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x424d11
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x424d34
mov ebx, eax
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x424d20
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
call fcn.0042d620
dec dword [edi + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x424d82
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x424d91
mov edx, esi
mov esi, dword [esi]
call fcn.0042d620
dec dword [edi + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x424d64
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x424db1
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x424db4
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x424d9e
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x424d9e
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], eax
jb 0x424dd4
mov ebx, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x424df6
mov edi, dword [ebp + 8]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x424de2
mov edi, dword [ebp - 0x20]
and edx, dword [edi + 0x18]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + edx*8 + 4]
lea eax, [eax + edx*8]
mov edx, esi
mov dword [ebp + 8], eax
mov esi, dword [esi]
mov dword [ebp - 0x10], ebx
call fcn.0042d620
dec dword [edi + 8]
cmp dword [ebp - 0x1c], ebx
je 0x424e3a
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
mov ebx, esi
cmp esi, eax
je 0x424e63
mov edx, esi
mov esi, dword [esi]
call fcn.0042d620
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x10]
jne 0x424e20
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, ebx
jne 0x424dc0
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x443110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x44312e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x443154
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x443140
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.004291d0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x444b50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49288d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x10], edx
jb 0x444b97
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x444bbb
mov ebx, dword [ebp - 0x10]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x444ba6
mov ebx, dword [ebp - 0x18]
push edi
push edx
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004291d0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x444beb
mov dword [ebx], eax
mov eax, ebx
mov byte [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x2e8ba2e
je 0x444d36
lea eax, [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x58
mov dword [ebp - 0x28], 0
call fcn.00456359
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
lea ecx, [ebx + 8]
push eax
lea esi, [eax + 0x18]
mov dword [ebp - 0x1c], ecx
call fcn.0041f220
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 2
push esi
call fcn.0041d990
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a5250]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4a5250]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x444cd6
divss xmm0, xmm3
call fcn.00401280
call fcn.0048a870
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x444cba
cmp eax, 0x200
jae 0x444cb8
shl eax, 3
cmp eax, ecx
jae 0x444cba
mov eax, ecx
push eax
mov ecx, esi
call fcn.004247e0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004291d0
mov edx, dword [eax]
jmp 0x444cd9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x2c]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x444d03
mov dword [ecx + eax*8], ebx
jmp 0x444d15
cmp esi, edx
jne 0x444d0c
mov dword [ecx + eax*8], ebx
jmp 0x444d19
mov edx, dword [ebp - 0x20]
cmp dword [ecx + eax*8 + 4], edx
jne 0x444d19
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004537bc
int3
Function at 0x445ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4928c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4b4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x10], edx
jb 0x445ee4
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x445f08
mov edi, dword [ebp - 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x445ef3
mov edi, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004291d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x445f38
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x2e8ba2e
je 0x446078
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x58
mov dword [ebp - 0x24], 0
call fcn.00456359
mov cl, byte [0x4a49d2]
mov edi, eax
mov eax, dword [ebp - 0x14]
push ecx
mov byte [ebp - 0x10], cl
mov ecx, esp
push dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
mov dword [ecx], eax
lea ecx, [edi + 8]
call fcn.00448490
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a5250]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4a5250]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x44601a
divss xmm0, xmm3
call fcn.00401280
call fcn.0048a870
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x445ffe
cmp eax, 0x200
jae 0x445ffc
shl eax, 3
cmp eax, ecx
jae 0x445ffe
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004247e0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004291d0
mov edx, dword [eax]
jmp 0x44601d
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x446045
mov dword [ecx + eax*8], edi
jmp 0x446057
cmp esi, edx
jne 0x44604e
mov dword [ecx + eax*8], edi
jmp 0x44605b
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x44605b
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004537bc
int3
Function at 0x450f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f760
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00456359
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0045398d
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452360
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493516
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4b4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x4523fc
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4523f1
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x452408
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0044ba70
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x452412
mov ecx, dword [esi]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x7fff
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x452460
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452472
push ecx
push edx
call fcn.004566f4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0047361e
int3
Function at 0x4531b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00453190
pop esi
leave
ret 8

Function at 0x456ffc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45703b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45703b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45703b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45703b
cmp dword [ecx + 0x74], 0xe
jbe 0x45703b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x467630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955dd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4b4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00453615
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x4965c0
push eax
call fcn.00453a8a
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.0045413b
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.00453ad5
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x467710
push eax
call fcn.00472b3c
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x46772b
push eax
call fcn.00472b3c
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x467746
push eax
call fcn.00472b3c
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x467761
push eax
call fcn.00472b3c
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x46777c
push eax
call fcn.00472b3c
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x467797
push eax
call fcn.00472b3c
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.0045366d
mov dword [esi], vtable.boost::program_options::detail::utf8_codecvt_facet.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47bc14
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047ba85

Function at 0x47c053
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49af98
push 0x49af90
push str.FlsAlloc
push 0x1e
call fcn.0047bec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47c087
push dword [ebp + 8]
mov ecx, esi
call dword [0x4962ac]
call esi
jmp 0x47c08d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x47c0d1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49afa8
push 0x49afa0
push str.FlsGetValue
push 0x20
call fcn.0047bec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47c108
push dword [ebp + 8]
mov ecx, esi
call dword [0x4962ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x47c8df
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00457270
mov eax, dword [0x4b4050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00478e32
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x47c921
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x47ca7d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0048a320
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4b7190]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0047e288
mov ecx, dword [esi*4 + 0x4b7190]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x47ca76
cmp eax, dword [edi + ecx + 0x24]
jne 0x47ca76
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ca76
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047e288
add esp, 0x14
test edx, edx
jl 0x47ca76
jg 0x47c9ec
test eax, eax
jb 0x47ca76
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x47ca76
jl 0x47ca06
cmp dword [ebp - 0x1008], eax
ja 0x47ca76
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x47ca24
test ebx, ebx
je 0x47ca5d
cmp ecx, edi
jae 0x47ca5d
mov al, byte [ecx]
cmp al, 0xd
jne 0x47ca3e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x47ca4a
cmp byte [ecx + 1], 0xa
jne 0x47ca4a
inc ecx
jmp 0x47ca4a
movzx eax, al
movsx eax, byte [eax + 0x4b4300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x47ca24
cmp edx, ebx
jne 0x47ca24
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x47ca7b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045613d
leave
ret
Function at 0x47d725
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4b7190]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47d765
cmp byte [ebx], 0xa
jne 0x47d765
or byte [eax + edi + 0x28], 4
jmp 0x47d76a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x47d868
mov al, byte [edx]
cmp al, 0x1a
je 0x47d84a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x47d799
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x47d7be
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x47d7c8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x47d77b
jmp 0x47d868
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47d845
cmp dword [ebp - 0xc], 0
je 0x47d845
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4b7190]
test byte [eax + edi + 0x28], 0x48
je 0x47d81f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47d80a
mov byte [esi], dl
jmp 0x47d81b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4b7190]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x47d868
cmp byte [ebp - 1], 0xa
jne 0x47d82e
cmp esi, ebx
jne 0x47d82e
mov byte [esi], 0xa
jmp 0x47d867
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0047e2a6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x47d868
mov byte [esi], 0xd
jmp 0x47d867
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4b7190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47d864
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47d868
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47d871
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4b7190]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47d8b4
cmp word [esi], dx
jne 0x47d8b4
or byte [edi + eax + 0x28], 4
jmp 0x47d8b9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x47da0c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x47d9ec
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x47d8fb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x47d931
cmp eax, edx
jae 0x47d93d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x47d8d3
jmp 0x47da0c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47d9e8
cmp dword [ebp - 0x14], 0
je 0x47d9e8
mov eax, dword [ebx*4 + 0x4b7190]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x47d9c0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x47d989
mov word [esi], cx
jmp 0x47d9bc
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4b7190]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4b7190]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4b7190]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x47da0c
pop ebx
cmp word [ebp - 4], bx
jne 0x47d9d1
cmp esi, dword [ebp + 0xc]
jne 0x47d9d1
mov word [esi], bx
jmp 0x47da09
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0047e2a6
add esp, 0x10
cmp word [ebp - 4], bx
je 0x47da0c
push 0xd
jmp 0x47da05
mov ecx, dword [ebx*4 + 0x4b7190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47da03
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47da0c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret