Function at 0x1000dbd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push esi
push edi
xor edi, edi
push 0x14
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.1000bd40
add esp, 4
push eax
push 1
call fcn.1000bd30
mov eax, dword [esp + 0x44]
mov esi, eax
shr esi, 9
and eax, 0x1ff
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], eax
je 0x1000dc18
add esi, 1
mov dword [esp + 0x28], esi
push 0x202
push 2
call fcn.100109af
add esp, 8
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x1000dfef
mov ecx, 1
cmp esi, ecx
mov dword [esp + 0x24], ecx
jbe 0x1000dfdc
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x38], 0x64
cmp dword [esp + 0x14], edi
jne 0x1000dfda
mov edx, dword [esp + 0x54]
test byte [ecx + edx], 3
mov dword [esp + 0x28], edi
jne 0x1000df70
lea ebp, [eax + 0x200]
push 0x200
mov edi, eax
push 0
mov ecx, 0x80
mov esi, ebp
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.100109f0
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ecx
jne 0x1000dcae
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1000dcae
mov edi, ecx
mov dword [esp + 0x24], edi
jmp 0x1000dcba
mov dword [esp + 0x24], 0x200
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
push 0
push 0
shl eax, 9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000df66
push 0
lea edx, [esp + 0x44]
push edx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000df66
cmp dword [esp + 0x40], edi
jne 0x1000df66
mov eax, dword [esp + 0x1c]
push edi
push ebp
mov dword [esp + 0x3c], eax
call fcn.1000c140
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x1000dd25
push ebp
mov eax, edi
call fcn.1000bea0
add esp, 4
mov dword [esp + 0x4c], eax
jmp 0x1000dd2d
mov dword [esp + 0x4c], 1
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x1000ded0
lea esp, [esp]
test esi, esi
mov eax, dword [esp + 0x18]
je 0x1000ddf5
test eax, eax
jne 0x1000dd6d
cmp dword [esp + 0x4c], eax
je 0x1000df74
movzx ecx, word [edi + ebp]
lea esi, [edi + ebp]
push eax
push ecx
call fcn.1000be60
jmp 0x1000de11
cmp dword [esp + 0x4c], 0
je 0x1000dd90
movzx edx, word [edi + ebp]
push eax
push edx
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000dd90
add dword [esp + 0x10], 1
jmp 0x1000debe
cmp dword [esp + 0x10], 0xf
mov dword [esp + 0x18], 0
jb 0x1000debe
cmp ebx, ebp
mov dword [esp + 0x28], 1
jae 0x1000dde8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
push eax
sub ecx, ebx
add ecx, 0x200
push ecx
push ebx
push esi
call fcn.1000bf40
add esp, 0x10
test eax, eax
je 0x1000dddb
mov dword [esp + 0x14], 7
mov edx, dword [esp + 0x1c]
push edx
push edi
push ebp
push esi
jmp 0x1000deaa
mov eax, dword [esp + 0x10]
push esi
lea ecx, [eax + eax]
jmp 0x1000dea3
test eax, eax
jne 0x1000de30
cmp dword [esp + 0x4c], eax
je 0x1000df74
push eax
movzx eax, byte [edi + ebp]
lea esi, [edi + ebp]
push eax
call fcn.1000be20
add esp, 8
test eax, eax
je 0x1000debe
mov eax, 1
mov ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
jmp 0x1000debe
cmp dword [esp + 0x4c], 0
je 0x1000de50
movzx ecx, byte [edi + ebp]
push eax
push ecx
call fcn.1000be20
add esp, 8
test eax, eax
je 0x1000de50
add dword [esp + 0x10], 1
jmp 0x1000debe
cmp dword [esp + 0x10], 0xf
mov dword [esp + 0x18], 0
jb 0x1000debe
cmp ebx, ebp
mov dword [esp + 0x28], 1
jae 0x1000de9d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
push edx
sub eax, ebx
add eax, 0x200
push eax
push ebx
push esi
call fcn.1000bf40
add esp, 0x10
test eax, eax
je 0x1000de96
mov dword [esp + 0x14], 7
push 0
push edi
push ebp
push esi
jmp 0x1000deaa
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [esp + 0x54]
push ecx
push ebx
push edx
call fcn.1000bf40
add esp, 0x10
test eax, eax
je 0x1000debe
mov dword [esp + 0x14], 7
mov esi, dword [esp + 0x1c]
lea edi, [edi + esi + 1]
cmp edi, dword [esp + 0x24]
jb 0x1000dd40
cmp dword [esp + 0x18], 0
je 0x1000df74
mov ecx, dword [esp + 0x10]
cmp ecx, 0xf
jb 0x1000df5e
cmp ebx, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 1
jae 0x1000df46
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
push eax
sub ecx, ebx
add ecx, 0x200
push ecx
push ebx
push esi
call fcn.1000bf40
add esp, 0x10
test eax, eax
je 0x1000df24
mov dword [esp + 0x14], 7
mov edx, dword [esp + 0x1c]
push edx
push 0x200
push ebp
push esi
call fcn.1000bf40
add esp, 0x10
test eax, eax
je 0x1000df74
mov dword [esp + 0x14], 7
jmp 0x1000df74
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000df54
add ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x50]
push eax
push ecx
push ebx
push edx
jmp 0x1000df30
sub ebx, 0x200
jmp 0x1000df74
mov dword [esp + 0x14], 6
jmp 0x1000df74
mov dword [esp + 0x18], edi
test byte [esp + 0x2c], 0x7f
jne 0x1000dfa9
mov eax, dword [esp + 0x38]
xor edx, edx
div dword [esp + 0x30]
mov ecx, eax
imul ecx, ecx, 0xd
mov eax, 0x51eb851f
mul ecx
shr edx, 5
add edx, 0x3e
push edx
call fcn.1000bd10
test eax, eax
jne 0x1000dfa9
mov dword [esp + 0x14], 0x63000009
xor edi, edi
cmp dword [esp + 0x28], edi
je 0x1000dfbc
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x38], 0x64
mov eax, dword [esp + 0x20]
add ecx, 1
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
jb 0x1000dc52
pop ebp
pop ebx
push eax
call fcn.10010803
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
add esp, 0x34
ret
pop edi
mov eax, 8
pop esi
add esp, 0x34
ret