Function at 0x110fbc10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x95c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov eax, dword [ebx]
mov ecx, dword [0x111ee100]
push 0
push 0x1119f95c
push 0x11199f24
mov dword [ebp - 0x940], ebx
mov dword [ebp - 0x944], eax
call fcn.1105e820
mov ecx, dword [0x111ee100]
push 0
push 2
push 0x111b4288
push 0x111a0f40
mov dword [ebp - 0x94c], eax
call fcn.1105e820
mov ecx, dword [0x111ee100]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0
push 0xa0
mov dword [ebp - 0x954], eax
lea eax, [ebp - 0xa4]
push eax
push 0x111b4278
push 0x111a0f40
call edx
cmp byte [ebp - 0xa4], 0
jne 0x110fbcb5
mov ecx, 0xb
mov esi, 0x111b4248
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0xa4], 0
lea esi, [ebp - 0xa4]
mov dword [ebp - 0x934], 0
je 0x110fbdac
cmp dword [ebp - 0x934], 0x10
jge 0x110fbdac
mov al, byte [esi]
test al, al
je 0x110fbcfd
movsx eax, al
push eax
call fcn.111648ed
add esp, 4
test eax, eax
jne 0x110fbcfd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x110fbce5
push esi
call fcn.11163ca7
movsx ecx, byte [esi]
push ecx
mov ebx, eax
call fcn.111648ed
add esp, 8
test eax, eax
je 0x110fbd27
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.111648ed
add esp, 4
test eax, eax
jne 0x110fbd15
mov al, byte [esi]
test al, al
je 0x110fbd48
lea ecx, [ecx]
movsx eax, al
push eax
call fcn.111648ed
add esp, 4
test eax, eax
jne 0x110fbd48
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x110fbd30
push esi
call fcn.11163ca7
mov edi, eax
add esp, 4
test edi, edi
jne 0x110fbd5a
lea edi, [eax + 1]
movsx ecx, byte [esi]
push ecx
call fcn.111648ed
add esp, 4
test eax, eax
je 0x110fbd82
lea ebx, [ebx]
movsx edx, byte [esi + 1]
inc esi
push edx
call fcn.111648ed
add esp, 4
test eax, eax
jne 0x110fbd70
mov eax, dword [ebp - 0x934]
mov dword [ebp + eax*8 - 0x924], ebx
mov ebx, dword [ebp - 0x940]
mov dword [ebp + eax*8 - 0x920], edi
inc eax
cmp byte [esi], 0
mov dword [ebp - 0x934], eax
jne 0x110fbcd2
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x928], 0
test eax, eax
jne 0x110fc153
jmp 0x110fbdd0
cmp dword [ebp - 0x954], 1
lea esi, [ebp - 0x8a4]
jle 0x110fbe04
cmp dword [ebp - 0x928], 0
jne 0x110fbdfb
push 0x808
call fcn.11163a11
add esp, 4
mov dword [ebp - 0x928], eax
mov esi, dword [ebp - 0x928]
add esi, 8
mov edx, dword [ebx + 0x78]
push 0
lea ecx, [ebp - 0x92c]
push ecx
push 0x800
push esi
push edx
call dword [sym.imp.KeRneL32.DLl_ReadFile]
test eax, eax
je 0x110fc112
movzx edi, word [esi]
and edi, 0xffff7fff
cmp edi, 0x65
jne 0x110fbf3a
movsx eax, word [esi + 2]
movzx edi, word [esi + 4]
mov dword [ebp - 0x930], edi
mov dword [ebp - 0x938], eax
test eax, eax
jns 0x110fbe60
mov eax, dword [ebp - 0x944]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x938], ecx
mov eax, ecx
lea edx, [ebp - 0x93c]
push edx
lea ecx, [esi + 6]
push ecx
push eax
call fcn.110f31b0
lea ecx, [edi + edi + 8]
add esp, 0xc
mov dword [ebp - 0x948], eax
cmp dword [ebp - 0x92c], ecx
jbe 0x110fbf0f
cmp dword [ebp - 0x930], 0
mov edx, dword [eax + 4]
lea ebx, [ecx + esi]
lea edi, [eax + 0xc]
lea ecx, [edi + edx + 1]
mov dword [ebp - 0x950], ecx
mov esi, ecx
je 0x110fbefb
jmp 0x110fbeb0
mov ax, word [ebx]
mov ecx, dword [ebp - 0x938]
dec dword [ebp - 0x930]
mov word [esi], ax
movzx eax, byte [edi]
push eax
push ecx
add ebx, 2
add esi, 2
call dword [sym.imp.KeRneL32.DLl_IsDBCSLeadByteEx]
inc edi
test eax, eax
je 0x110fbee6
mov dx, word [0x111f1788]
mov word [esi], dx
add esi, 2
inc edi
cmp dword [ebp - 0x930], 0
jne 0x110fbeb0
mov ecx, dword [ebp - 0x950]
mov eax, dword [ebp - 0x948]
mov ebx, dword [ebp - 0x940]
sub esi, ecx
lea ecx, [esi + 1]
add dword [eax + 4], ecx
add dword [ebp - 0x93c], esi
mov ecx, dword [ebp - 0x944]
mov esi, dword [ebp - 0x93c]
mov edx, dword [ecx]
push 0
push esi
push eax
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x948]
push ecx
call fcn.11163aa5
add esp, 4
jmp 0x110fc102
cmp edi, 0x7a
jne 0x110fbf75
push 0x10
call fcn.11163a11
movzx edx, word [esi + 4]
mov dword [eax], edx
movzx ecx, word [esi + 2]
mov dword [eax + 4], ecx
movzx edx, word [esi + 8]
mov dword [eax + 8], edx
movzx ecx, word [esi + 6]
add esp, 4
mov dword [eax + 0xc], ecx
mov ecx, dword [0x111ee1d4]
push eax
call fcn.11110530
jmp 0x110fc102
cmp edi, 0x67
jne 0x110fbf97
push 0x111b4238
call fcn.11147060
mov ecx, dword [0x111ee30c]
add esp, 4
call fcn.110f8480
jmp 0x110fc102
cmp edi, 0x66
je 0x110fc121
cmp edi, 0xa9
jne 0x110fbfbb
mov eax, dword [ebx + 0x720]
test eax, eax
je 0x110fbfcd
push eax
call dword [sym.imp.KeRneL32.DLl_SetEvent]
jmp 0x110fbfcd
cmp edi, 0x15
jne 0x110fbfcd
push 0x111b4228
call fcn.11147060
add esp, 4
mov edx, dword [ebx + 0xa0]
test edx, edx
jne 0x110fc153
mov eax, 1
add dword [0x111ee16c], eax
jne 0x110fbfed
mov dword [0x111ee16c], eax
cmp edi, 0x2f
je 0x110fc03a
cmp edi, 0x31
je 0x110fc03a
cmp edi, 0x15
je 0x110fc03a
cmp edi, 0xa9
je 0x110fc03a
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 1]
push eax
movzx eax, byte [esi]
push ecx
mov ecx, dword [ebp - 0x92c]
push edx
push eax
push ecx
push 0x111b41f0
call fcn.11147060
add esp, 0x18
mov dword [ebp - 0x94c], 1
jmp 0x110fc102
cmp dword [ebp - 0x94c], 0
jne 0x110fc102
mov edi, dword [ebp - 0x928]
test edi, edi
je 0x110fc0dc
call dword [sym.imp.WinMM.DlL_timeGetTime]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0x92c]
mov dword [edi], edx
mov ecx, dword [ebx + 0xa8]
push edi
call fcn.11110530
cmp eax, 0xa
jbe 0x110fc0d0
mov edx, dword [ebx + 0xac]
xor esi, esi
cmp eax, 0xfa0
jbe 0x110fc08d
mov esi, 0xfa
jmp 0x110fc0b9
mov edi, dword [ebp - 0x934]
xor ecx, ecx
test edi, edi
jle 0x110fc0d0
lea esp, [esp]
cmp edx, dword [ebp + ecx*8 - 0x924]
jb 0x110fc0b5
mov esi, dword [ebp + ecx*8 - 0x920]
inc ecx
cmp ecx, edi
jl 0x110fc0a0
test esi, esi
je 0x110fc0d0
push edx
push eax
push esi
push 0x111b41d4
call fcn.11147060
add esp, 0x10
push esi
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov dword [ebp - 0x928], 0
jmp 0x110fc102
mov eax, dword [ebp - 0x92c]
lea ecx, [ebp - 0x95c]
push ecx
push 0x110f93b0
mov dword [ebp - 0x95c], esi
mov dword [ebp - 0x958], eax
call fcn.11026a40
add esp, 8
mov edx, dword [ebx + 0xa0]
test edx, edx
je 0x110fbdd0
jmp 0x110fc153
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov eax, dword [ebp - 0x928]
push eax
jmp 0x110fc15a
cmp dword [ebx + 0x3a4], 0
mov esi, 1
mov dword [ebx + 0x3a8], esi
jne 0x110fc148
push 0x111b41a4
call fcn.11147060
add esp, 4
mov dword [ebx + 0x3ac], esi
push esi
mov esi, ebx
call fcn.110fb980
add esp, 4
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.11163aa5
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret