Function at 0x10006470
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x1003f418]
xor eax, ebp
cmp esi, 1
mov ecx, edi
sbb ecx, 0
mov ecx, 0xec2ad960
mov edx, 0x8ab597e1
cmovl edx, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x90], eax
lea eax, [ebx + 0x3c]
mov dword [esp + 0x68], eax
lea eax, [ebx + 0x4c]
mov dword [esp + 0x64], eax
mov eax, 0xc2e71a9c
mov dword [esp + 0x6c], ebx
jmp 0x100064f0
mov eax, esi
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
mov eax, edi
sbb eax, 0
mov dword [esp + 0x48], eax
mov eax, 0x8ab63977
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, 0x10399d72
jg 0x10006530
cmp eax, 0xd2402dd3
jg 0x100065c0
cmp eax, 0x908d0bfe
jle 0x1000664f
cmp eax, 0x908d0bff
je 0x100067c3
cmp eax, 0xa4b14837
je 0x100067ff
cmp eax, 0xc2e71a9c
jne 0x100064f0
mov eax, dword [esp + 0x70]
jmp 0x100064f0
cmp eax, 0x45baaa9b
jg 0x10006610
cmp eax, 0x42c3535c
jle 0x10006687
cmp eax, 0x42c3535d
je 0x10006821
cmp eax, 0x44d23355
je 0x10006838
cmp eax, 0x44dddb81
jne 0x100064f0
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
cmp esi, ebx
cmovae esi, ebx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
push esi
push dword [eax]
mov edi, dword [ebp + 8]
push edi
call fcn.100118f0
add esp, 0xc
lea eax, [edi + esi]
mov dword [esp + 0x2c], eax
sub ebx, esi
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x6c]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x2c]
sub dword [ecx], esi
mov eax, dword [eax + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
mov eax, 0xd571045a
jmp 0x100064f0
cmp eax, 0xd5710459
jle 0x1000671e
cmp eax, 0xd571045a
je 0x10006876
cmp eax, 0xe1aa9813
je 0x100068a2
cmp eax, 0xec2ad960
jne 0x100064f0
mov dword [esp + 8], 0
mov eax, 0x4cb3c039
mov dword [esp + 4], 0
jmp 0x100064f0
cmp eax, 0x7b2ce73d
jg 0x1000675b
cmp eax, 0x45baaa9c
je 0x100068cb
cmp eax, 0x73b7b7ed
jne 0x100069e1
mov ecx, ebx
push edi
push esi
push dword [ebp + 8]
call fcn.10007c90
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, 0x4cb3c039
jmp 0x100064f0
cmp eax, 0x8ab597e1
je 0x100068f0
cmp eax, 0x8ab63977
jne 0x100064f0
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov eax, 0x4cb3c039
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
jmp 0x100064f0
cmp eax, 0x10399d73
je 0x10006906
cmp eax, 0x36322f3c
jne 0x100064f0
lea eax, [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], esi
lea eax, [esp + 0x88]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov edx, 0xdb042cca
nop dword [eax + eax]
cmp edx, 0x7bee50d0
je 0x10006988
cmp edx, 0xdca9997f
je 0x10006712
cmp edx, 0xdb042cca
jne 0x100066e0
cmp dword [esp + 0x1c], 0
mov edx, 0xdca9997f
mov ecx, 0x7bee50d0
cmove edx, ecx
xor ecx, ecx
jmp 0x100066e0
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx]
mov edx, 0x7bee50d0
jmp 0x100066e0
cmp eax, 0xd2402dd4
je 0x100064c7
cmp eax, 0xd39b25ef
jne 0x100064f0
cmp dword [esp + 0x3c], 0
mov eax, 0x8ab63977
mov ecx, 0xd2402dd4
cmove eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
jmp 0x100064f0
cmp eax, 0x7b2ce73e
je 0x100069aa
cmp eax, 0x7db0dced
jne 0x100064f0
mov eax, dword [esp + 0x10]
push dword [eax]
push 0xfff
push 1
push dword [esp + 0x24]
call fcn.10015d8d
add esp, 0x10
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x8c]
sub ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x8c], ecx
cmp eax, 0xfff
mov eax, 0x45baaa9c
mov ecx, 0xa4b14837
cmove eax, ecx
jmp 0x100064f0
mov edx, dword [esp + 0x38]
test edx, edx
mov eax, 0xd39b25ef
mov ecx, 0x44d23355
cmove eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
jmp 0x100064f0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, 0x908d0bff
mov dword [esp + 0x38], 0
jmp 0x100064f0
cmp dword [esp + 0x14], 0
mov eax, 0xe1aa9813
mov ecx, 0x7b2ce73e
cmove eax, ecx
jmp 0x100064f0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xfff
mov eax, 0x42c3535d
mov ecx, 0x7db0dced
cmova eax, ecx
jmp 0x100064f0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
mov eax, 0x10399d73
mov ecx, 0xd2402dd4
cmove eax, ecx
jmp 0x100064f0
mov eax, dword [esp + 0x10]
push dword [eax]
push dword [esp + 0x18]
push 1
push dword [esp + 0x24]
call fcn.10015d8d
add esp, 0x10
sub dword [esp + 0x8c], eax
mov eax, 0x7b2ce73e
jmp 0x100064f0
mov eax, esi
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, edi
sbb eax, 0
mov dword [esp + 0x44], eax
mov eax, 0x908d0bff
mov dword [esp + 0x38], 1
jmp 0x100064f0
cmp dword [ebx + 0x38], 0
mov eax, 0x73b7b7ed
mov ecx, 0x36322f3c
cmove eax, ecx
jmp 0x100064f0
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, 0xa6fd293b
nop word [eax + eax]
cmp eax, 0xfb8bd4cd
je 0x100069cc
cmp eax, 0xc119d664
je 0x10006963
cmp eax, 0xa6fd293b
jne 0x10006930
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x1c]
mov eax, 0xfb8bd4cd
mov ecx, 0xc119d664
cmove eax, ecx
jmp 0x10006930
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov edx, dword [esp + 0x60]
mov esi, dword [edx + 0xc]
mov dword [esi], eax
mov esi, dword [edx + 0x1c]
mov dword [esi], eax
mov esi, dword [ebp + 0xc]
sub ecx, eax
mov eax, dword [edx + 0x2c]
mov dword [eax], ecx
mov eax, 0xfb8bd4cd
jmp 0x10006930
mov dword [esp + 0x88], ecx
test ecx, ecx
mov eax, 0x44dddb81
mov ecx, 0xd571045a
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
jmp 0x100064f0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, 0xd39b25ef
mov dword [esp + 0x3c], 0
jmp 0x100064f0
mov eax, 0x44d23355
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x30], ecx
jmp 0x100064f0
cmp eax, 0x4cb3c039
jne 0x100064f0
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.1000daa7
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc