joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4136f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5080f4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea esi, [eax + 8]
mov dword [eax], vtable.sf::priv::SoundFileWriterOgg.0
mov dword [eax + 4], 0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x511b98
mov dword [ebp - 4], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
lea edi, [esi + 4]
push 0
push edi
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00414600
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 3
mov dword [ebp - 0x20], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00432cea
mov esi, eax
add esp, 4
test esi, esi
je 0x4137f2
push 1
mov byte [ebp - 4], 4
call fcn.0042f11d
add esp, 4
mov dword [esi + 4], eax
jmp 0x4137f4
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00413f40
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea eax, [edi + 4]
mov dword [edi + 0xc], eax
lea esi, [edi + 8]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x10], esi
lea ecx, [eax + 0x18]
mov byte [edi + 0x48], 0
lea edx, [eax + 0x24]
mov byte [edi + 0x3d], 0
add edi, 0x14
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
push 0x168
push 0
mov dword [edi + 0x30], eax
mov dword [esi], 0
mov esi, edi
mov edi, dword [ebp - 0x14]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [esi + 4], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x884fd0]
mov ecx, dword [0x884fd4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0xb8]
push eax
call fcn.00434d70
push 0x70
xorps xmm0, xmm0
lea eax, [esi + 0x240]
push 0
movups xmmword [esi + 0x220], xmm0
push eax
movups xmmword [esi + 0x230], xmm0
call fcn.00434d70
add esp, 0x18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415810
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x415831
jl 0x415827
test esi, esi
jne 0x415831
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x4158e4
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.00413e40
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x4158a1
jg 0x415869
test esi, esi
je 0x4158a1
cmp ebp, eax
jg 0x415879
jl 0x415873
cmp edi, esi
jae 0x415879
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.004347f0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x4158c0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4158d0
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x415850
jl 0x4158d0
test edi, edi
jne 0x415850
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x415929
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x415930
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.004347f0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x415930
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x415999
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x41595a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x415984
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.0043bab8
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x415999
cmp edi, eax
ja 0x415962
test edi, edi
je 0x415999
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.0043bab8
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x416610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5082a4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea esi, [eax + 8]
mov dword [eax], vtable.sf::priv::SoundFileWriterWav.0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x511b98
mov dword [ebp - 4], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
lea edi, [esi + 4]
push 0
push edi
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00414600
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 3
mov dword [ebp - 0x20], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00432cea
mov esi, eax
add esp, 4
test esi, esi
je 0x41670c
push 1
mov byte [ebp - 4], 4
call fcn.0042f11d
add esp, 4
mov dword [esi + 4], eax
jmp 0x41670e
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00413f40
mov eax, dword [ebp - 0x10]
lea ebx, [edi + 4]
mov dword [edi + 0xc], ebx
lea esi, [edi + 8]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ecx, [eax + 0x18]
mov byte [edi + 0x48], 0
lea edx, [eax + 0x24]
mov byte [edi + 0x3d], 0
mov dword [edi + 0x10], esi
add edi, 0x14
mov dword [eax + 0x2c], edx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
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 dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x884fd0]
mov ecx, dword [0x884fd4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 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 0x416f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea edi, [ecx + 8]
mov dword [esp + 0x14], 0x46464952
push 4
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x45564157
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x20746d66
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 2
lea eax, [esp + 0x14]
mov word [esp + 0x14], 1
push eax
mov ecx, edi
call fcn.004154f0
mov ebx, dword [esp + 0x28]
mov ecx, edi
movzx esi, bx
mov eax, esi
mov byte [esp + 0x28], bl
shr eax, 8
push 0
mov byte [esp + 0x2d], al
lea eax, [esp + 0x2c]
push 2
push eax
call fcn.004154f0
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2a], al
mov eax, ecx
shr eax, 0x18
push 0
mov byte [esp + 0x2f], al
lea eax, [esp + 0x2c]
push 4
mov byte [esp + 0x30], cl
mov ecx, edi
push eax
call fcn.004154f0
mov ecx, dword [esp + 0x24]
imul ecx, ebx
mov dword [esp + 0x24], ecx
add ecx, ecx
mov byte [esp + 0x24], cl
mov eax, ecx
shr eax, 8
mov byte [esp + 0x25], al
mov eax, ecx
shr eax, 0x10
push 0
shr ecx, 0x18
mov byte [esp + 0x2a], al
lea eax, [esp + 0x28]
push 4
mov byte [esp + 0x2f], cl
mov ecx, edi
push eax
call fcn.004154f0
lea eax, [esi + esi]
mov ecx, edi
movzx eax, ax
mov byte [esp + 0x24], al
shr eax, 8
push 0
mov byte [esp + 0x29], al
lea eax, [esp + 0x28]
push 2
push eax
call fcn.004154f0
push 0
push 2
lea eax, [esp + 0x2c]
mov word [esp + 0x2c], 0x10
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x61746164
push eax
mov ecx, edi
call fcn.004154f0
push 0
push 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
mov ecx, edi
call fcn.004154f0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x14
ret 8

Function at 0x417620
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x41763f
push eax
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.0043bab8
add esp, 0x10
xor edx, edx
ret 0xc
or eax, 0xffffffff
or edx, eax
ret 0xc
Function at 0x423570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov dword [ebx + 4], 0x80
mov dword [ebx + 8], 0x40
mov ecx, dword [edx + 0xb74]
mov dword [ebx], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0xa4], 0x80
mov eax, dword [edx + 4]
cdq
sub eax, edx
sar eax, 1
push 4
push 0x80
mov dword [ebx + 0xb0], eax
call fcn.0043ae00
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x10]
push 0x80
push eax
call fcn.00422b30
add esp, 0x10
xor esi, esi
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x58ff80]
mulsd xmm0, qword [0x58ff70]
call fcn.0043e990
mov eax, dword [ebx + 0x24]
cvtsd2ss xmm0, xmm0
movss dword [eax + esi*4], xmm0
mov eax, dword [ebx + 0x24]
movss xmm0, dword [eax + esi*4]
mulss xmm0, xmm0
movss dword [eax + esi*4], xmm0
inc esi
cmp esi, 0x80
jl 0x4235e0
push ebp
mov dword [ebx + 0x28], 2
lea esi, [ebx + 0x34]
mov dword [ebx + 0x2c], 4
mov dword [ebx + 0x38], 4
mov dword [ebx + 0x3c], 5
mov dword [ebx + 0x48], 6
mov dword [ebx + 0x4c], 6
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x5c], 8
mov dword [ebx + 0x68], 0xd
mov dword [ebx + 0x6c], 8
mov dword [ebx + 0x78], 0x11
mov dword [ebx + 0x7c], 8
mov dword [ebx + 0x88], 0x16
mov dword [ebx + 0x8c], 8
mov dword [esp + 0x20], 7
push edi
nop dword [eax + eax]
mov ebp, dword [esi - 8]
lea eax, [ebp*4]
push eax
call fcn.0043b08f
add esp, 4
mov ebx, eax
xor edi, edi
mov dword [esi - 4], ebx
test ebp, ebp
jle 0x423715
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
movsd qword [esp + 0x14], xmm1
nop dword [eax]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x511ee0]
divsd xmm0, xmm1
mulsd xmm0, qword [0x58ff70]
call fcn.0043e990
movsd xmm1, qword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [ebx + edi*4], xmm0
mov ebx, dword [esi - 4]
movss xmm0, dword [ebx + edi*4]
inc edi
addss xmm0, dword [esi]
movss dword [esi], xmm0
cmp edi, ebp
jl 0x4236d0
movss xmm0, dword [esi]
movsd xmm1, qword [0x58a238]
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esi], xmm0
add esi, 0x10
sub dword [esp + 0x24], 1
jne 0x4236a0
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
push 0x90
lea eax, [ecx*8]
sub eax, ecx
push eax
call fcn.0043ae00
mov ebx, dword [esp + 0x20]
push 4
push dword [ebx + 0xa4]
mov dword [ebx + 0x98], eax
call fcn.0043ae00
add esp, 0x10
mov dword [ebx + 0xa0], eax
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x42c840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
or ebx, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov eax, dword [edi + 0x1c8]
lea ebp, [edi + 0x18]
mov ecx, dword [esp + 0x18]
lea esi, [edi + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
nop dword [eax + eax]
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.004ff5f0
add esp, 8
test eax, eax
jns 0x42c8a3
cdq
sub dword [esi], eax
lea eax, [edi + 8]
mov dword [esp + 0x18], eax
sbb dword [esi + 4], edx
mov esi, eax
jmp 0x42c880
jne 0x42c934
call fcn.00438ac0
mov dword [eax], 0
cmp dword [edi + 0x2c0], 0
je 0x42ca2f
cmp dword [edi], 0
je 0x42ca2f
push 0x800
push ebp
call fcn.004ff340
push dword [edi]
push 0x800
push 1
push eax
mov eax, dword [edi + 0x2c0]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jle 0x42c908
push esi
push ebp
call fcn.004ff7c0
lea eax, [edi + 8]
add esp, 8
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x42c880
jne 0x42c918
call fcn.00438ac0
cmp dword [eax], 0
jne 0x42ca2f
test esi, esi
je 0x42ca2f
js 0x42ca2f
lea eax, [edi + 8]
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x42c880
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
cdq
add eax, dword [esp + 0x14]
mov dword [esi], eax
adc edx, ecx
mov dword [esi + 4], edx
test ecx, ecx
jl 0x42ca2f
jg 0x42c95e
cmp dword [esp + 0x14], 0
jb 0x42ca2f
lea eax, [esp + 0x24]
push eax
call fcn.004fe600
add esp, 4
test eax, eax
jne 0x42ca2f
lea eax, [esp + 0x24]
push eax
call fcn.004fe730
add esp, 4
cmp eax, dword [esp + 0x20]
jne 0x42c877
lea ecx, [esp + 0x24]
lea eax, [edi + 0x78]
push ecx
push eax
call fcn.004fedf0
lea eax, [esp + 0x3c]
push eax
lea eax, [edi + 0x78]
push eax
call fcn.004fedb0
add esp, 0x10
test eax, eax
je 0x42c9fe
mov esi, dword [esp + 0x58]
lea ebp, [edi + 0x78]
jle 0x42c9e1
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x60]
call fcn.004ffc60
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42c9e1
cmp ebx, 0xffffffff
je 0x42c9df
lea eax, [ecx + ebx]
sar eax, 2
cdq
add dword [esp + 0x10], eax
adc esi, edx
mov ebx, ecx
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.004fedb0
add esp, 8
test eax, eax
jne 0x42c9b4
mov dword [esp + 0x58], esi
lea ebp, [edi + 0x18]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.004fe6a0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
je 0x42c877
lea eax, [esp + 0x24]
push eax
call fcn.004fe6a0
add esp, 4
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x58]
mov ecx, edx
jmp 0x42ca37
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
jg 0x42ca5a
jl 0x42ca45
test eax, eax
jae 0x42ca5a
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esp, 0x44
ret
mov edx, ecx
add esp, 0x44
ret
Function at 0x433f55
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x433f94
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433f94
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433f94
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x433f94
cmp dword [ecx + 0x74], 0xe
jbe 0x433f94
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43c79d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00433600
mov eax, dword [0x8815d0]
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.004488a0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x43c7df
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43c93b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00433630
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 + 0x885bd0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0044cac6
mov ecx, dword [esi*4 + 0x885bd0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x43c934
cmp eax, dword [ecx + edi + 0x24]
jne 0x43c934
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c934
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044cac6
add esp, 0x14
test edx, edx
jl 0x43c934
jg 0x43c8aa
test eax, eax
jb 0x43c934
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43c934
jl 0x43c8c4
cmp dword [ebp - 0x1008], eax
ja 0x43c934
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x43c8e2
test ebx, ebx
je 0x43c91b
cmp ecx, edi
jae 0x43c91b
mov al, byte [ecx]
cmp al, 0xd
jne 0x43c8fc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43c908
cmp byte [ecx + 1], 0xa
jne 0x43c908
inc ecx
jmp 0x43c908
movzx eax, al
movsx eax, byte [eax + 0x881860]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x43c8e2
cmp edx, ebx
jne 0x43c8e2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43c939
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00432bfc
leave
ret

Function at 0x449095
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x59cf7c
push 0x59cf74
push str.FlsAlloc
push 0x1f
call fcn.00448ec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4490c9
push dword [ebp + 8]
mov ecx, esi
call dword [0x50f25c]
call esi
jmp 0x4490cf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x449113
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x59cf8c
push 0x59cf84
push str.FlsGetValue
push 0x21
call fcn.00448ec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44914a
push dword [ebp + 8]
mov ecx, esi
call dword [0x50f25c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x449152
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x59cf94
push 0x59cf8c
push str.FlsSetValue
push 0x22
call fcn.00448ec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44918c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x50f25c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44bd5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x885bd0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44bd9c
cmp byte [ebx], 0xa
jne 0x44bd9c
or byte [edi + eax + 0x28], 4
jmp 0x44bda1
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x44bea0
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44be83
inc eax
cmp dl, 0xd
je 0x44bdcd
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x44bdf3
cmp eax, ecx
jae 0x44be01
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x44bdb5
jmp 0x44bea0
push 0
lea eax, [ebp - 0x10]
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 0x44be7e
cmp dword [ebp - 0x10], 0
je 0x44be7e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x885bd0]
test byte [eax + edi + 0x28], 0x48
je 0x44be58
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44be43
mov byte [esi], dl
jmp 0x44be54
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x885bd0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44bea0
cmp byte [ebp - 1], 0xa
jne 0x44be67
cmp esi, ebx
jne 0x44be67
mov byte [esi], 0xa
jmp 0x44be9f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044cae4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44bea0
mov byte [esi], 0xd
jmp 0x44be9f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x885bd0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44be9d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44bea0
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret