Function at 0x10063680
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x254]
push ebx
mov ebx, dword [esp + 0x25c]
push ebp
mov ebp, dword [esp + 0x258]
push esi
mov esi, dword [esp + 0x258]
push edi
mov edi, dword [esp + 0x258]
push 0x1ff
lea ecx, [esp + 0x55]
push 0
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x5c], 0
call fcn.100f6b80
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x26c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jne 0x10063908
push esi
lea edx, [esp + 0x54]
push edx
push edi
call fcn.10041a40
mov esi, dword [esp + 0x28]
push ebx
push esi
push ebp
lea eax, [esp + 0x68]
push eax
push edi
call fcn.100525a0
add esp, 0x20
test eax, eax
jne 0x10063c57
cmp dword [esp + 0x270], eax
jne 0x10063821
push 0x40
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], al
call fcn.100f7889
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100637c4
mov al, 0xce
mov byte [esp + 0x34], al
mov byte [esp + 0x3c], al
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0x41], 0xde
mov byte [esp + 0x42], 0xb7
mov byte [esp + 0x43], 0xa8
mov byte [esp + 0x44], 0xb4
mov byte [esp + 0x45], 0xf2
mov byte [esp + 0x46], 0xbf
mov byte [esp + 0x47], 0xaa
mov byte [esp + 0x49], 0xc4
mov byte [esp + 0x4a], 0xbc
mov byte [esp + 0x4b], 0xfe
mov byte [esp + 0x4c], 0x3c
mov byte [esp + 0x4d], 0x25
mov byte [esp + 0x4e], 0x73
mov byte [esp + 0x4f], 0x3e
mov byte [esp + 0x50], 0
call fcn.1003bf90
add esp, 0xc
xor eax, eax
jmp 0x10063c5c
push 2
push 0
push esi
call fcn.100f7804
push esi
call fcn.100f770f
push 0
push 0
push esi
mov dword [esp + 0x30], eax
call fcn.100f7804
mov edx, dword [esp + 0x30]
push edx
call fcn.100f5b7c
mov edi, eax
add esp, 0x20
test edi, edi
mov dword [esp + 0x10], edi
push esi
jne 0x10063809
call fcn.100f7244
add esp, 4
xor eax, eax
jmp 0x10063c5c
mov eax, dword [esp + 0x18]
push eax
push 1
push edi
call fcn.100f755c
push esi
call fcn.100f7244
add esp, 0x14
jmp 0x1006384d
mov ecx, dword [ebx]
push ecx
call fcn.100f5b7c
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x100637bd
mov edx, dword [ebx]
mov ecx, dword [esi]
push edx
push ecx
push eax
call fcn.100f7fd0
mov edx, dword [ebx]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.10040320
add esp, 8
test eax, eax
je 0x10063901
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x2617]
push ecx
push edx
push edi
call fcn.10040100
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100638f9
mov al, 0xdc
mov byte [esp + 0x3f], al
mov byte [esp + 0x43], al
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov byte [esp + 0x40], 0xcd
mov byte [esp + 0x41], 0xbc
mov byte [esp + 0x42], 0xc6
mov byte [esp + 0x43], 0xac
mov byte [esp + 0x44], 0x5b
mov byte [esp + 0x45], 0x25
mov byte [esp + 0x46], 0x73
mov byte [esp + 0x47], 0x5d
mov byte [esp + 0x48], 0xbd
mov byte [esp + 0x49], 0xe2
mov byte [esp + 0x4a], 0xc3
mov byte [esp + 0x4c], 0xca
mov byte [esp + 0x4d], 0xa7
mov byte [esp + 0x4e], 0xb0
mov byte [esp + 0x50], 0
call fcn.1003bf90
push edi
call fcn.100f5c3f
add esp, 0x10
xor eax, eax
jmp 0x10063c5c
lea eax, [edi + 8]
jmp 0x100639d4
mov eax, edi
jmp 0x100639d4
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x51], al
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
mov byte [esp + 0x58], 0x25
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0x2c
mov byte [esp + 0x5b], 0x25
mov byte [esp + 0x5c], 0x64
call fcn.100f86bd
mov edx, dword [esp + 0x28]
add esp, 0x10
push 4
push edx
call dword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
je 0x100639d0
mov al, 0xd6
mov cl, 0xb5
mov byte [esp + 0x34], al
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x41], cl
mov byte [esp + 0x43], cl
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0x41], 0xb8
mov byte [esp + 0x42], 0xd5
mov byte [esp + 0x43], 0xeb
mov byte [esp + 0x44], 0x3a
mov byte [esp + 0x45], 0x25
mov byte [esp + 0x46], 0x64
mov byte [esp + 0x47], 0xca
mov byte [esp + 0x48], 0xc7
mov byte [esp + 0x49], 0xce
mov byte [esp + 0x4a], 0xde
mov byte [esp + 0x4b], 0xd0
mov byte [esp + 0x4c], 0xa7
mov byte [esp + 0x4e], 0xc4
mov byte [esp + 0x50], 0xd8
mov byte [esp + 0x52], 0xb7
mov byte [esp + 0x53], 0
call fcn.1003bf90
add esp, 0xc
xor eax, eax
jmp 0x10063c5c
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], 0x36
jae 0x100639f9
cmp dword [esp + 0x26c], 0
jne 0x100639f2
mov edx, dword [esp + 0x10]
push edx
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10063c5c
cmp word [eax], 0x4d42
lea edx, [eax + 0xe]
je 0x10063a21
cmp dword [esp + 0x26c], 0
jne 0x100639f2
mov eax, dword [esp + 0x10]
push eax
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10063c5c
mov ecx, 0xa
mov esi, edx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x2c], 1
jge 0x10063a46
neg ecx
mov dword [esp + 0x2c], esi
mov dword [ebp + 8], ecx
cmp word [edx + 0xe], 0x18
je 0x10063ad7
mov edx, dword [esp + 0x20]
mov cl, 0xbb
mov al, 0xd6
mov byte [esp + 0x35], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x41], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
mov byte [esp + 0x36], al
mov byte [esp + 0x39], al
mov al, 0xce
push ecx
push edx
mov byte [esp + 0x3f], 0xa7
mov byte [esp + 0x40], 0xb3
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x34
mov byte [esp + 0x44], al
mov byte [esp + 0x46], 0xc9
mov byte [esp + 0x47], 0xab
mov byte [esp + 0x48], al
mov byte [esp + 0x4a], 0xcd
mov byte [esp + 0x4b], 0xbc
mov byte [esp + 0x4c], 0
add al, ch
fld qword [ebp + edi*8 + 0x8c483ff]
cmp dword [esp + 0x26c], esi
jne 0x100639f2
mov eax, dword [esp + 0x10]
push eax
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10063c5c
cmp dword [edx + 0x10], esi
jne 0x10063b97
mov ecx, dword [ebp + 4]
lea ecx, [ecx*4 + 3]
and ecx, 0xfffffffc
mov dword [ebx], ecx
mov edx, dword [eax + 0xa]
cmp edx, dword [esp + 0x14]
jbe 0x10063b19
cmp dword [esp + 0x26c], esi
jne 0x100639f2
mov edx, dword [esp + 0x10]
push edx
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10063c5c
add edx, eax
mov eax, dword [ebp + 4]
add eax, 1
lea edi, [eax + eax*2]
mov eax, dword [ebp + 8]
imul eax, ecx
push eax
mov dword [esp + 0x28], edx
and edi, 0xfffffffc
call fcn.100f5b7c
mov ecx, dword [esp + 0x20]
add esp, 4
cmp eax, esi
mov dword [ecx], eax
jne 0x10063bb8
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x3c], 0xc4
mov byte [esp + 0x3d], 0xda
mov byte [esp + 0x3e], 0xb4
mov byte [esp + 0x3f], 0xe6
mov byte [esp + 0x40], 0xb7
mov byte [esp + 0x41], 0xd6
mov byte [esp + 0x42], 0xc5
mov byte [esp + 0x43], 0xe4
mov byte [esp + 0x44], 0xca
mov byte [esp + 0x45], 0xa7
mov byte [esp + 0x46], 0xb0
mov byte [esp + 0x47], 0xdc
mov byte [esp + 0x48], 0
call fcn.1003bf90
add esp, 8
cmp dword [esp + 0x26c], esi
jne 0x100639f2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10063c5c
cmp dword [ebp + 8], esi
mov edx, eax
mov dword [esp + 0x28], esi
jle 0x10063c13
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x10063bfd
mov ecx, dword [esp + 0x24]
lea eax, [edx + 2]
add ecx, 2
movzx ebx, byte [ecx - 2]
mov byte [eax - 2], bl
movzx ebx, byte [ecx - 1]
mov byte [eax - 1], bl
movzx ebx, byte [ecx]
mov byte [eax], bl
mov byte [eax + 1], 0
add esi, 1
add ecx, 3
add eax, 4
cmp esi, dword [ebp + 4]
jl 0x10063bd4
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add edx, dword [ebx]
add dword [esp + 0x24], edi
add eax, 1
cmp eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
jl 0x10063bc3
cmp dword [esp + 0x2c], 0
je 0x10063c2a
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov ecx, dword [edx]
call fcn.1004a480
cmp dword [esp + 0x26c], 0
jne 0x10063c57
mov eax, dword [esp + 0x10]
push eax
call fcn.100f5c3f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ebx
push ecx
push ebp
lea edx, [esp + 0x60]
push edx
push eax
call fcn.10063480
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0x244
ret