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

Disassembly:
sub esp, 0x68
mov eax, dword [0x10178d58]
xor eax, esp
mov dword [esp + 0x64], eax
push ebp
mov ebp, dword [esp + 0x74]
test ebp, ebp
push esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x34], esi
je 0x100c095b
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.100c05f0
add esp, 0x14
test eax, eax
jne 0x100c096e
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.100db39a
add esp, 0x68
ret
cmp dword [esp + 0x2c], 0
je 0x100c0984
mov eax, 0xb0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
jmp 0x100c0994
mov dword [esp + 0x18], 0xa4
mov dword [esp + 0xc], 0xac
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
imul ecx, ecx, 0x70
push ecx
call fcn.100b8ee0
add esp, 4
test eax, eax
mov dword [esp + 0xc], eax
jne 0x100c09d3
push eax
call fcn.100b8f00
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.100db39a
add esp, 0x68
ret
test edi, edi
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_fread]
mov dword [esp + 0x24], 0
jle 0x100c0bc3
mov edi, eax
add edi, 0x14
nop
mov edx, dword [esp + 0x24]
or eax, 0xffffffff
push ebp
push 1
mov dword [edi + 4], eax
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x58]
push 8
push eax
mov dword [edi + 8], 0
mov dword [edi], edx
call ebx
push ebp
push 1
lea ecx, [edi - 0x14]
push 8
push ecx
mov esi, eax
call ebx
push ebp
push 1
lea edx, [esp + 0x78]
push 8
push edx
add esi, eax
mov byte [edi - 0xc], 0
call ebx
push ebp
push 1
add esi, eax
lea eax, [edi - 0xb]
push 8
push eax
call ebx
add esp, 0x40
push ebp
push 1
lea ecx, [esp + 0x58]
push 8
push ecx
add esi, eax
mov byte [edi - 3], 0
call ebx
push ebp
push 1
lea edx, [esp + 0x74]
push 8
push edx
add esi, eax
call ebx
push ebp
push 1
add esi, eax
lea eax, [esp + 0x78]
push 8
push eax
call ebx
push ebp
push 1
lea ecx, [esp + 0xa0]
push 8
push ecx
add esi, eax
call ebx
add esp, 0x40
push ebp
push 1
lea edx, [esp + 0x58]
push 8
push edx
add esi, eax
call ebx
push ebp
push 1
add esi, eax
lea eax, [edi + 0x24]
push 8
push eax
call ebx
add esi, eax
push ebp
push 1
lea ecx, [esp + 0x78]
push 8
push ecx
call ebx
push ebp
push 1
lea edx, [edi + 0x2c]
push 8
push edx
add esi, eax
call ebx
add esp, 0x40
push ebp
push 1
add esi, eax
lea eax, [esp + 0x58]
push 8
push eax
call ebx
push ebp
push 1
lea ecx, [edi + 0x34]
push 8
push ecx
add esi, eax
call ebx
push ebp
push 1
lea edx, [esp + 0x78]
push 8
push edx
add esi, eax
call ebx
push ebp
push 1
add esi, eax
lea eax, [edi + 0x3c]
push 8
push eax
call ebx
add esp, 0x40
push ebp
push 1
lea ecx, [esp + 0x58]
push 8
push ecx
add esi, eax
call ebx
push ebp
push 1
lea edx, [edi + 0x44]
push 8
push edx
add esi, eax
call ebx
push ebp
push 1
add esi, eax
lea eax, [esp + 0x78]
push 8
push eax
call ebx
push ebp
push 1
lea ecx, [edi + 0x4c]
push 8
push ecx
add esi, eax
call ebx
add esp, 0x40
push ebp
push 1
lea edx, [esp + 0x58]
push 8
push edx
add esi, eax
call ebx
add esi, eax
lea eax, [edi + 0xc]
push ebp
push 1
push 4
push eax
call ebx
add esp, 0x20
add esi, eax
cmp dword [esp + 0x34], 0
je 0x100c0b66
push ebp
push 1
lea eax, [esp + 0x50]
push 4
push eax
call ebx
add esp, 0x10
add esi, eax
add esi, 0xffffffea
cmp esi, 1
ja 0x100c144d
cmp dword [esp + 0x40], 0
je 0x100c0b87
lea eax, [edi + 0xc]
push 1
push eax
call fcn.100d7a00
add esp, 8
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
cmp dword [esp + 0x24], eax
jge 0x100c0ba7
mov ecx, dword [edi + 0xc]
push 1
shl ecx, 4
push ecx
push ebp
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
mov eax, dword [esp + 0x24]
add eax, 1
add edi, 0x70
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jl 0x100c09f0
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x40], 0
je 0x100c0c2c
cmp dword [esp + 0x18], 0
jle 0x100c0c2c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edi, 0x40
mov dword [esp + 0x34], eax
lea ecx, [edi - 8]
push 1
push ecx
call fcn.100d7a50
push 1
push edi
call fcn.100d7a50
lea edx, [edi + 8]
push 1
push edx
call fcn.100d7a50
lea eax, [edi + 0x10]
push 1
push eax
call fcn.100d7a50
lea ecx, [edi + 0x18]
push 1
push ecx
call fcn.100d7a50
lea edx, [edi + 0x20]
push 1
push edx
call fcn.100d7a50
add esp, 0x30
add edi, 0x70
sub dword [esp + 0x34], 1
jne 0x100c0be0
mov edi, dword [esp + 0x10]
fld qword [edi + 0x40]
fsub qword [edi + 0x38]
fldz
fcom st(1)
fnstsw ax
fxch st(1)
test ah, 0x41
jne 0x100c0c45
fchs
fdiv qword [edi + 0x58]
fld qword [0x101493f8]
fadd st(1), st(0)
fxch st(1)
call fcn.100db3f0
fld qword [edi + 0x50]
fsub qword [edi + 0x48]
mov dword [edi + 0x24], eax
fcom st(2)
fnstsw ax
test ah, 5
jp 0x100c0c6b
fchs
fdiv qword [edi + 0x60]
fadd st(1)
call fcn.100db3f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ecx, edx
cmp dword [esp + 0x18], 1
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], 0
mov dword [esp + 0x34], eax
jle 0x100c0d28
mov eax, dword [esp + 0x18]
add edi, 0x20
add eax, 0xffffffff
mov dword [esp + 0x20], eax
fld qword [edi + 0x90]
fsub qword [edi + 0x88]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x100c0cc0
fchs
fdiv qword [edi + 0xa8]
fadd st(1)
call fcn.100db3f0
fld qword [edi + 0xa0]
fsub qword [edi + 0x98]
mov dword [edi + 0x74], eax
fcom st(2)
fnstsw ax
test ah, 5
jp 0x100c0ce7
fchs
fdiv qword [edi + 0xb0]
fadd st(1)
call fcn.100db3f0
mov dword [edi + 0x78], eax
mov ecx, dword [edi]
shl ecx, 4
add ecx, dword [edi + 0xc]
add ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x34]
mov dword [edi + 0x7c], ecx
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
lea edx, [ecx + edx*2]
mov dword [edi + 0x80], edx
jle 0x100c0d1e
mov dword [esp + 0x34], eax
add edi, 0x70
sub dword [esp + 0x20], 1
jne 0x100c0ca9
xor eax, eax
fstp st(0)
cmp dword [esp + 0x18], eax
fstp st(0)
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
jle 0x100c0d7d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edi, 0x20
mov dword [esp + 0x14], eax
jmp 0x100c0d50
push 8
lea ecx, [edi - 0x17]
push 0x10171d80
push ecx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x100c0d6d
add dword [esp + 0x20], 1
mov edx, dword [edi]
add dword [esp + 0x30], edx
add edi, 0x70
sub dword [esp + 0x14], 1
jne 0x100c0d50
mov edi, dword [esp + 0x18]
xor eax, eax
cmp edi, eax
mov dword [esp + 0x24], eax
jle 0x100c0e29
mov eax, dword [esp + 0x10]
add eax, 9
mov dword [esp + 0x2c], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x2c]
push 8
push 0x10171d80
push ecx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100c0e0f
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
cmp eax, dword [esp + 0x24]
je 0x100c0dea
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 8
push eax
push ecx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100c0dfc
mov eax, dword [esp + 0x1c]
add dword [esp + 0x28], 0x70
add eax, 1
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x100c0dc7
jmp 0x100c0e0f
mov eax, dword [esp + 0x28]
add dword [eax + 0x1c], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xf], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 0x70
add eax, 1
cmp eax, edi
mov dword [esp + 0x24], eax
jl 0x100c0da0
xor eax, eax
cmp edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
jle 0x100c0ef1
mov eax, dword [esp + 0x10]
add eax, 0x68
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0x4c]
test eax, eax
jle 0x100c0ecd
lea ecx, [eax*4]
push ecx
call fcn.100b8ee0
add esp, 4
test eax, eax
mov dword [edi], eax
je 0x100c0fc9
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [edx - 0x4c]
add dword [esp + 0x28], eax
xor edi, edi
add ecx, 9
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x24]
je 0x100c0ebd
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 8
add eax, 0xffffff98
push eax
push edx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x100c0ebd
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx], edi
add eax, 4
mov dword [esp + 0x2c], eax
add dword [esp + 0x14], 0x70
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x100c0e87
jmp 0x100c0ed3
mov dword [edi], 0
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x70
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jl 0x100c0e44
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [edx + edi*8 + 3]
lea edx, [eax + eax]
lea eax, [edi + edi*2]
add eax, eax
mov dword [esp + 0x30], eax
lea eax, [ecx*4]
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], eax
call fcn.100b8ee0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x30], eax
call fcn.100b8ee0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
add eax, eax
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x3c], eax
call fcn.100b8ee0
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
mov dword [esi + 0xc], eax
je 0x100c1454
cmp dword [esi + 8], 0
je 0x100c1454
test eax, eax
je 0x100c1454
mov eax, dword [esp + 0x14]
push eax
push 0
push ecx
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 8]
push ecx
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0xc]
push eax
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x5c]
mov dword [edx], edi
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x44]
add eax, 0xffffffff
add esp, 0x24
cmp eax, 3
mov dword [edx + 8], ecx
mov dword [esp + 0x38], eax
ja case.default.0x100c0fc2
jmp dword [eax*4 + 0x100c14c8]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
test eax, eax
je 0x100c0fe3
push eax
call fcn.100b8f00
add esp, 4
add esi, 0x70
sub edi, 1
jne 0x100c0fd4
push ebx
jmp 0x100c14a1
fld qword [0x10171d78]
jmp 0x100c1011
fld qword [0x10171d70]
jmp 0x100c1011
fld1
jmp 0x100c1011
fld qword [0x100dd1e0]
jmp 0x100c1011
fld qword [esp + 0x48]
test edi, edi
mov ecx, 3
jle 0x100c114d
mov eax, dword [esp + 0x10]
fld qword [0x100dc2b8]
mov dword [esp + 0x30], 0
add eax, 0x18
mov dword [esp + 0x14], edi
mov edx, dword [esi + 4]
mov edi, dword [eax - 4]
mov dword [edx + ecx*4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax]
mov dword [edx + ecx*4 + 4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 4]
add ecx, 1
mov dword [edx + ecx*4 + 4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 8]
add ecx, 1
mov dword [edx + ecx*4 + 4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 0xc]
add ecx, 1
mov dword [edx + ecx*4 + 4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x10]
add ecx, 1
mov dword [edx + ecx*4 + 4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x14]
add ecx, 1
add ecx, 1
mov dword [edx + ecx*4], edi
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x18]
add ecx, 1
mov dword [edx + ecx*4], edi
add ecx, 1
cmp dword [eax + 4], 0
mov dword [esp + 0x1c], ecx
jle 0x100c10d7
xor edx, edx
cmp dword [eax + 4], edx
mov dword [esp + 0x20], edx
jle 0x100c10d7
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 4]
mov dword [edi + ecx*4], edx
mov edx, dword [esp + 0x20]
add edx, 1
add ecx, 1
cmp edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jl 0x100c10b0
fld qword [eax + 0x20]
mov edi, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
fmul st(2)
add edx, 8
add edx, 8
fstp qword [edx + edi - 0x10]
mov edi, dword [esi + 0xc]
fld qword [eax + 0x28]
add edx, 8
fmul st(2)
add edx, 8
add edx, 8
add edx, 8
fstp qword [edx + edi - 0x28]
mov edi, dword [esi + 0xc]
fld qword [eax + 0x30]
add eax, 0x70
sub dword [esp + 0x14], 1
fmul st(2)
mov dword [esp + 0x30], edx
fmul st(1)
fstp qword [edx + edi - 0x20]
mov edi, dword [esi + 0xc]
fld qword [eax - 0x38]
fmul st(2)
fmul st(1)
fstp qword [edx + edi - 0x18]
mov edi, dword [esi + 0xc]
fld qword [eax - 0x30]
fmul st(2)
fstp qword [edx + edi - 0x10]
mov edi, dword [esi + 0xc]
fld qword [eax - 0x28]
fmul st(2)
fstp qword [edx + edi - 8]
jne 0x100c1037
fstp st(1)
mov eax, dword [esp + 0x34]
fstp st(0)
shl eax, 4
push eax
call fcn.100b8ee0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
jne 0x100c11c1
mov eax, dword [esi + 4]
push eax
call fcn.100b8f00
mov ecx, dword [esi + 8]
push ecx
call fcn.100b8f00
mov edx, dword [esi + 0xc]
push edx
call fcn.100b8f00
mov edi, dword [esp + 0x24]
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jle 0x100c149c
mov esi, dword [esp + 0x10]
add esi, 0x68
mov eax, dword [esi]
cmp eax, ebx
je 0x100c11b4
push eax
call fcn.100b8f00
add esp, 4
add esi, 0x70
sub edi, 1
jne 0x100c11a5
jmp 0x100c149c
mov eax, dword [esp + 0x38]
cmp eax, 3
ja case.default.0x100c11ca
jmp dword [eax*4 + 0x100c14d8]
fld1
jmp 0x100c11eb
fld dword [0x10171d6c]
jmp 0x100c11eb
fld dword [0x10171d68]
jmp 0x100c11eb
fld dword [str.4nIH]
fstp dword [esp + 0x28]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
jle 0x100c13a2
mov eax, dword [esp + 0x10]
add eax, 0x28
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 4]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 8]
lea ecx, [edx + ecx*4]
mov edx, dword [eax + 4]
push 0
push edx
push ebp
mov dword [esp + 0x44], ecx
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
jle 0x100c1388
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
lea esp, [esp]
mov eax, dword [esp + 0x2c]
add eax, eax
push ebp
add eax, eax
push eax
push 4
push edi
call ebx
mov ecx, dword [esp + 0x3c]
add ecx, ecx
add ecx, ecx
add esp, 0x10
cmp eax, ecx
jne 0x100c13fc
cmp dword [esp + 0x40], 0
je 0x100c129b
mov eax, dword [esp + 0x2c]
add eax, eax
add eax, eax
push eax
push edi
call fcn.100d7a00
add esp, 8
fld dword [edi + 4]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 8]
fld st(0)
mov esi, dword [esp + 0x2c]
fmulp st(2)
fxch st(1)
mov eax, edi
lea ecx, [edx + ecx*4]
fstp dword [edx]
mov dword [esp + 0x38], 1
fld st(0)
fmul dword [edi]
lea edi, [esi - 1]
cmp edi, 4
fstp dword [ecx]
jl 0x100c1335
add esi, 0xfffffffb
shr esi, 2
add esi, 1
lea edi, [esi*4 + 1]
fld dword [eax + 0x14]
add eax, 0x40
fmul st(1)
add edx, 0x10
add ecx, 0x10
sub esi, 1
fstp dword [edx - 0xc]
fld dword [eax - 0x30]
fmul st(1)
fstp dword [ecx - 0xc]
fld dword [eax - 0x1c]
fmul st(1)
fstp dword [edx - 8]
fld dword [eax - 0x20]
fmul st(1)
fstp dword [ecx - 8]
fld dword [eax - 0xc]
fmul st(1)
fstp dword [edx - 4]
fld dword [eax - 0x10]
fmul st(1)
fstp dword [ecx - 4]
fld dword [eax + 4]
fmul st(1)
fstp dword [edx]
fld dword [eax]
fmul st(1)
fstp dword [ecx]
jne 0x100c12e4
mov esi, dword [esp + 0x2c]
jmp 0x100c1339
mov edi, dword [esp + 0x38]
cmp edi, esi
jge 0x100c135e
sub esi, edi
fld dword [eax + 0x14]
add eax, 0x10
fmul st(1)
add edx, 4
add ecx, 4
sub esi, 1
fstp dword [edx]
fld dword [eax]
fmul st(1)
fstp dword [ecx]
jne 0x100c133f
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
fstp st(0)
mov edi, dword [esp + 0x30]
lea ecx, [esi*4]
add dword [esp + 0x34], ecx
mov esi, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x100c1260
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], 0x70
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jl 0x100c1210
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
push edi
call fcn.100b8f00
mov edi, dword [esp + 0x20]
add esp, 8
test edi, edi
jle 0x100c13d8
mov esi, dword [esp + 0x10]
add esi, 0x68
mov eax, dword [esi]
test eax, eax
je 0x100c13d0
push eax
call fcn.100b8f00
add esp, 4
add esi, 0x70
sub edi, 1
jne 0x100c13c1
mov eax, dword [esp + 0x10]
push eax
call fcn.100b8f00
mov eax, dword [esp + 0x48]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.100db39a
add esp, 0x68
ret
push edi
call fcn.100b8f00
mov edx, dword [esi + 4]
push edx
call fcn.100b8f00
mov eax, dword [esi + 8]
push eax
call fcn.100b8f00
mov ecx, dword [esi + 0xc]
push ecx
call fcn.100b8f00
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov esi, dword [esp + 0x20]
add esp, 0x10
add esi, 0x68
mov eax, dword [esi]
cmp eax, ebx
je 0x100c1445
push eax
call fcn.100b8f00
add esp, 4
add esi, 0x70
sub edi, 1
jne 0x100c1436
mov edx, dword [esp + 0x10]
push edx
jmp 0x100c14a1
push ecx
call fcn.100b8f00
mov ecx, dword [esi + 8]
push ecx
call fcn.100b8f00
mov edx, dword [esi + 0xc]
push edx
call fcn.100b8f00
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jle 0x100c149c
mov esi, dword [esp + 0x10]
add esi, 0x68
mov eax, dword [esi]
cmp eax, ebx
je 0x100c1494
push eax
call fcn.100b8f00
add esp, 4
add esi, 0x70
sub edi, 1
jne 0x100c1485
mov eax, dword [esp + 0x10]
push eax
call fcn.100b8f00
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
mov ecx, dword [esp + 0x7c]
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.100db39a
add esp, 0x68
ret