Function at 0x1110ba40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e4d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov ecx, dword [0x1127d368]
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp ecx, edi
je 0x1110ba8d
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x1c]
push edx
call eax
lea ecx, [ebp - 0x40]
call fcn.1113dd30
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx]
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], edi
call eax
test al, al
jne 0x1110babd
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebx + 0x28]
push 0x11222cf8
push str..bin
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, ebx
call fcn.1110a4d0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
lea ecx, [ebp - 0x40]
xor bl, bl
mov dword [ebp - 0x18], edi
or esi, 0xffffffff
call eax
test al, al
jne 0x1110bb03
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push 0x1120888c
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x1110bb90
push 2
push 0
push edi
mov bl, 1
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
je 0x1110bb31
xor bl, bl
push edi
call dword [sym.imp.MSVCR100.dll_ftell]
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x1110bb44
xor bl, bl
lea edx, [esi + 1]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1110bb5a
xor bl, bl
push 0
push 0
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
je 0x1110bb6e
xor bl, bl
mov eax, dword [ebp - 0x18]
push edi
push 1
push esi
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x1110bb86
xor bl, bl
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [0x1127d368]
test ecx, ecx
je 0x1110bba5
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + 0x18]
push eax
call edx
test bl, bl
je 0x1110bd73
cmp esi, 0x20
jl 0x1110bd73
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x8c]
call fcn.1111aaf0
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x5c]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call edx
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x11]
push eax
mov eax, dword [edx + 0x60]
lea ecx, [ebp - 0x8c]
call eax
cmp byte [ebp - 0x11], 2
jne 0x1110bd64
lea ecx, [ebp - 0x70]
call fcn.1113dd30
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1113dd30
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.1113dd30
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x5c]
lea ecx, [ebp - 0x20]
push ecx
mov ebx, 4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], bl
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call edx
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x8c]
call eax
xor edi, edi
jmp 0x1110bc80
cmp edi, dword [ebp - 0x20]
jae 0x1110bd40
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call eax
test al, al
jne 0x1110bcb2
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x8c]
push 0
push edx
call fcn.11112850
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
call edx
cmp eax, 0x339
jne 0x1110bcf5
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x54], 0
jne 0x1110bcf5
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
inc edi
jmp 0x1110bc80
cmp byte [ebp + 0xc], 0
je 0x1110bd14
cmp dword [esi + 0x25c], 0
jl 0x1110bd14
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
inc edi
jmp 0x1110bc80
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1110b7d0
inc edi
jmp 0x1110bc80
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.1113cd80
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1113cd80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.1113cd80
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.1111ab70
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
sub esi, dword [eax]
add esp, 4
lea ecx, [ebp - 0x40]
sar esi, 2
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8