Function at 0x1001c2a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x102c
call fcn.100c35f0
mov eax, dword [0x10107008]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
sub edi, dword [eax]
sub edi, 0x10
sar edi, 4
dec edi
mov dword [esp + 0x18], edi
call fcn.1008d308
add esp, 4
mov ecx, esi
test edi, edi
jne 0x1001c346
push 1
mov edx, ebx
call fcn.1001c170
mov edi, dword [ebp + 8]
add esp, 4
mov ebx, eax
inc edi
push dword [esp + 0xc]
call fcn.10088039
add esp, 4
test eax, eax
je 0x1001c601
call fcn.1008c301
mov ebx, dword [eax]
mov eax, dword [esi + 0xc]
push ebx
mov dword [eax + 8], 0
add dword [esi + 0xc], 0x10
call fcn.1008c711
add esp, 4
test eax, eax
jne 0x1001c5a2
mov eax, dword [esi + 0xc]
mov dword [eax + 8], 0
jmp 0x1001c5ba
lea edx, [edi + 0x14]
call fcn.1000de80
test eax, eax
je 0x1001c62d
mov edi, dword [ebp + 8]
mov ebx, 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
dec eax
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1001c2fd
mov edx, edi
mov ecx, esi
call fcn.1000de00
cmp eax, 0x100e3a10
je 0x1001c47f
mov eax, dword [eax + 8]
and eax, 0xf
cmp al, 3
jne 0x1001c47f
mov edx, edi
mov ecx, esi
call fcn.1000de00
cmp dword [eax + 8], 0x13
jne 0x1001c3af
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
jmp 0x1001c3cb
push 0
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.10031970
add esp, 4
test eax, eax
je 0x1001c63d
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x1001c428
mov ebx, dword [esp + 0xc]
push ebx
call fcn.1008886d
add esp, 4
mov dword [esp + 0x10], eax
push ebx
push eax
call fcn.1008e271
add esp, 8
mov edx, 0x100e3360
mov ecx, esi
call fcn.10028cf0
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
movzx eax, byte [eax + 4]
or eax, 0x40
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x1001c419
mov ecx, esi
call fcn.1001afe0
xor ebx, ebx
cmp dword [esp + 0x10], 0xffffffff
setne bl
jmp 0x1001c58c
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], esi
mov edx, ebx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x1000
call fcn.10010370
push dword [esp + 0xc]
push ebx
push 1
push eax
call fcn.1008c515
add esp, 0x10
lea ecx, [esp + 0x20]
mov edi, eax
add dword [esp + 0x28], edi
call fcn.100104f0
xor eax, eax
cmp eax, edi
mov edi, dword [esp + 0x10]
sbb ebx, ebx
neg ebx
jmp 0x1001c58c
mov edx, edi
mov ecx, esi
call fcn.1000de00
mov ecx, dword [eax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1001c4be
cmp ecx, 3
jne 0x1001c654
mov edx, eax
mov ecx, esi
call fcn.10022b10
mov eax, dword [esi + 0x10]
cmp dword [eax + 0xc], 0
jle 0x1001c4b5
mov ecx, esi
call fcn.1001afe0
mov edx, edi
mov ecx, esi
call fcn.1000de00
mov eax, dword [eax]
add eax, 0x10
je 0x1001c654
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x1001c4d3
mov cl, byte [eax + 1]
movsx eax, cl
add eax, 0xffffffb4
cmp eax, 0x22
ja case.0x1001c4e9.77
movzx eax, byte [eax + 0x1001c674]
jmp dword [eax*4 + 0x1001c660]
mov edx, dword [esp + 0xc]
mov ecx, esi
call fcn.1001be50
mov ebx, eax
jmp 0x1001c58c
mov edx, dword [esp + 0xc]
mov ecx, esi
push 1
call fcn.1001c170
add esp, 4
mov ebx, eax
jmp 0x1001c58c
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
call fcn.1001c170
add esp, 4
mov ebx, eax
jmp 0x1001c58c
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x1000
nop word [eax + eax]
mov edx, 0x1000
lea ecx, [esp + 0x20]
call fcn.10010370
push edi
push 0x1000
push 1
push eax
call fcn.1008c515
add dword [esp + 0x38], eax
add esp, 0x10
cmp eax, 0x1000
je 0x1001c550
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x20]
call fcn.100104f0
mov ebx, 1
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edi
test eax, eax
jne 0x1001c366
jmp 0x1001c2fd
mov edx, eax
mov ecx, esi
call fcn.10028cf0
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
movzx eax, byte [eax + 4]
or eax, 0x40
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
mov edi, dword [esi + 0xc]
cmp dword [ecx + 0xc], 0
jle 0x1001c5d4
mov ecx, esi
call fcn.1001afe0
mov edi, dword [esi + 0xc]
mov eax, ebx
mov dword [edi + 8], 0x13
cdq
mov dword [edi], eax
mov eax, 3
mov dword [edi + 4], edx
add dword [esi + 0xc], 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.10080d10
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x1001c613
add dword [esi + 0xc], 0xfffffff0
mov eax, dword [esi + 0xc]
mov dword [eax + 8], ebx
add dword [esi + 0xc], 0x10
sub edi, dword [ebp + 8]
mov ecx, dword [esp + 0x1034]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10080d10
mov esp, ebp
pop ebp
ret
push str.too_many_arguments
push str.stack_overflow___s_
push esi
call fcn.1000fcf0
mov edx, edi
mov ecx, esi
call fcn.100101d0
push str.invalid_format
mov edx, edi
mov ecx, esi
call fcn.1000faa0
push 4
mov edx, edi
mov ecx, esi
call fcn.1000fc30
nop
push ss
lds eax, [ecx]
adc byte [edx], ch
lds eax, [ecx]
adc byte [edx], al
lds eax, [ecx]
adc al, dh
les eax, [ecx]
adc byte [esi - 0x3a], al
add dword [eax], edx
add byte [esp + eax], al
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add dword [esp + eax], eax
add al, 4
add al, 4
add al, 4
add al, 4
add al, byte [ebx + eax]
int3