Function at 0x1000e73b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5588]
mov eax, 0x5588
call fcn.100333a0
push 0xffffffffffffffff
push 0x10059af5
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x5584], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x5590]
mov esi, dword [ebp + 0x5594]
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x540]
push 2
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ebx
call fcn.10004eb1
add esp, 0xc
mov eax, dword [ebp + 0x544]
xor edi, edi
inc edi
cmp dword [ebp + 0x558], 8
mov dword [ebp - 4], edi
jae 0x1000e7bf
lea eax, [ebp + 0x544]
push esi
push eax
lea eax, [ebp + 0x540]
push str._s_s
push eax
call fcn.10007397
mov eax, dword [ebp + 0x544]
add esp, 0x10
cmp dword [ebp + 0x558], 8
jae 0x1000e7ea
lea eax, [ebp + 0x544]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000e81b
mov ecx, dword [ebp - 0x14]
push str.false
call fcn.10001681
push ebx
push edi
jmp 0x1000ecb2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x4e1f
mov edi, eax
lea eax, [ebp + 0x55d]
push ebx
push eax
mov byte [ebp + 0x55c], bl
call fcn.10031d30
add esp, 0xc
push ebx
lea eax, [ebp - 0x8c]
push eax
push edi
lea eax, [ebp + 0x55c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x55c]
push eax
call fcn.10031ee0
mov edi, eax
mov esi, edi
shr esi, 1
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp - 0x1c], esi
neg ecx
or ecx, eax
push ecx
call fcn.1003144f
push dword [ebp - 0x1c]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x2c], esi
call fcn.10031d30
add esp, 0x14
push ebx
lea ecx, [ebp]
call fcn.10025745
push esi
push edi
lea eax, [ebp + 0x55c]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10025909
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003144f
mov edi, eax
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push ebx
push edi
call fcn.10031d30
lea eax, [ebp - 0x6c]
push 0x5e
push eax
call fcn.10009eb5
add esp, 0x18
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 3
jb 0x1000e8fc
mov eax, dword [eax + 4]
jmp 0x1000e8ff
add eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
lea ecx, [ebp]
call fcn.100257fe
neg eax
sbb al, al
xor esi, esi
push ebx
inc al
inc esi
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 2
call fcn.1000131a
cmp byte [ebp - 0xd], bl
je 0x1000e9e0
cmp word [edi], bx
jne 0x1000e9ce
push edi
call fcn.100336aa
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003144f
push dword [ebp - 0x1c]
mov edi, eax
push ebx
push edi
call fcn.10031d30
lea eax, [ebp - 0x6c]
push 0x5e
push eax
call fcn.10009eb5
add esp, 0x1c
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
jb 0x1000e980
mov eax, dword [eax + 4]
jmp 0x1000e983
add eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp]
call fcn.100257fe
neg eax
sbb al, al
push ebx
inc al
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 2
call fcn.1000131a
cmp byte [ebp - 0xd], bl
je 0x1000e9dd
cmp word [edi], bx
jne 0x1000e9dd
mov ecx, dword [ebp - 0x14]
push str.false
call fcn.10001681
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1000eca4
mov ecx, dword [ebp - 0x14]
push str.false
call fcn.10001681
jmp 0x1000e9c6
xor esi, esi
inc esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.10001681
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 7
call fcn.1000b8e6
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.1000131a
or dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
call fcn.10008a6d
test eax, eax
jbe 0x1000eb41
push 0x206
lea eax, [ebp + 0x537e]
push ebx
push eax
mov word [ebp + 0x537c], bx
call fcn.10031d30
add esp, 0xc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
call fcn.1000a059
cmp dword [eax + 0x18], 8
jb 0x1000ea77
mov eax, dword [eax + 4]
jmp 0x1000ea7a
add eax, 4
push eax
lea ecx, [ebp - 0x88]
call fcn.10001681
lea eax, [ebp - 0x6c]
push 0x3e
push eax
mov byte [ebp - 4], 8
call fcn.10009eb5
lea ecx, [ebp - 0x88]
push ecx
push eax
mov byte [ebp - 4], 9
call fcn.1000707e
add esp, 0x10
dec al
neg al
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0xd], al
call fcn.1000131a
push ebx
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.1000131a
cmp byte [ebp - 0xd], bl
je 0x1000eadc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
jmp 0x1000eb2d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
call fcn.1000a059
cmp dword [eax + 0x18], 8
jb 0x1000eaf2
mov eax, dword [eax + 4]
jmp 0x1000eaf5
add eax, 4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
call fcn.1000a059
cmp dword [eax + 0x18], 8
jb 0x1000eb0e
mov eax, dword [eax + 4]
jmp 0x1000eb11
add eax, 4
push ebx
push ebx
mov ecx, dword [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push eax
lea eax, [ebp + 0x537c]
push eax
call fcn.1000ece5
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
call fcn.10008a6d
cmp dword [ebp - 0x18], eax
jb 0x1000ea45
push dword [ebp - 0x2c]
call fcn.100336aa
push edi
call fcn.100336aa
pop ecx
pop ecx
lea eax, [ebp - 0xa8]
push 0x5e
push eax
call fcn.10009eb5
cmp dword [ebp - 0x28], 0xffffffff
pop ecx
pop ecx
jle 0x1000ec5b
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xa
jb 0x1000eb7a
mov eax, dword [eax + 4]
jmp 0x1000eb7d
add eax, 4
mov ecx, dword [ebp - 0x24]
push esi
push str.http:__inca.co.kr
push eax
push 0x10070ca0
lea eax, [ebp - 0xc4]
push eax
call fcn.1000bb87
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xb
jb 0x1000eba7
mov eax, dword [eax + 4]
jmp 0x1000ebaa
add eax, 4
push eax
lea ecx, [ebp - 0x6c]
call fcn.10001681
push 0x10070ac4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.10001681
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xd
call fcn.1000707e
dec al
pop ecx
pop ecx
neg al
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0xd], al
call fcn.1000131a
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.1000131a
push ebx
push esi
lea ecx, [ebp - 0xc4]
call fcn.1000131a
push ebx
push esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.1000131a
cmp byte [ebp - 0xd], bl
je 0x1000ec4c
push dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
call fcn.1000a059
cmp dword [eax + 0x18], 8
jb 0x1000ec38
mov eax, dword [eax + 4]
jmp 0x1000ec3b
add eax, 4
mov ecx, dword [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.1000dadb
mov dword [ebp - 0x20], esi
jmp 0x1000ec94
mov ecx, dword [ebp - 0x14]
push str.false
call fcn.10001681
jmp 0x1000ec47
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xe
jb 0x1000ec6a
mov eax, dword [eax + 4]
jmp 0x1000ec6d
add eax, 4
mov ecx, dword [ebp - 0x24]
push esi
push str.http:__inca.co.kr
push eax
push 0x10070ca0
push dword [ebp - 0x14]
call fcn.1000bb87
push ebx
push esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x20], esi
call fcn.1000131a
lea ecx, [ebp - 0x50]
call fcn.1000a6fe
lea ecx, [ebp - 0x40]
call fcn.1000a6fe
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.1002578c
push ebx
push esi
lea ecx, [ebp + 0x540]
call fcn.1000131a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5584]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x5588
leave
ret 8