Function at 0x103e6560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov dword [ebp - 0x78], 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0x3231564e
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x1a4]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax + 0x1a8]
mov dword [ebp - 0x70], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 2
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax + 8]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x103e69b5
push 0
push 1
mov ecx, edx
call fcn.102ac2e0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x2ac]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x103e69b5
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
shr eax, 1
cmp dword [ebp + 0x18], 1
mov dword [ebp - 0x40], eax
jne 0x103e6627
lea esi, [ebx + 1]
shr esi, 1
mov dword [ebp - 0x28], esi
jmp 0x103e662c
mov esi, ebx
mov dword [ebp - 0x28], ebx
cmp byte [ecx + 0x1b4], 0
je 0x103e663d
mov eax, dword [ecx + 0x1b0]
jmp 0x103e6643
mov eax, dword [ecx + 0x74]
mov eax, dword [eax + 0x28]
mov ecx, dword [ecx + 0x1a8]
imul ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
imul eax, edi
mov dword [ebp - 0x50], ecx
imul eax, ebx
push eax
mov dword [ebp - 0x4c], eax
call fcn.10450898
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
imul eax, esi
imul eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x1c], eax
call fcn.10450898
push dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x44], esi
call fcn.10450898
mov dword [ebp - 0x3c], eax
add esp, 0xc
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
je 0x103e66a3
push 0
push eax
push dword [ebp - 0x34]
call fcn.1043fff8
add esp, 0xc
push dword [ebp - 0x34]
push dword [ebp - 0x4c]
push 1
push dword [ebp - 0x38]
call fcn.1043fc63
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
push 1
push esi
call fcn.1043fc63
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0x3c]
call fcn.1043fc63
add esp, 0x30
cmp dword [ebp - 0x18], 2
jne 0x103e67ad
test ebx, ebx
je 0x103e6732
mov edx, dword [ebp - 0x38]
lea ecx, [edi + edi]
mov esi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
test edi, edi
je 0x103e6723
mov ecx, dword [ebp - 0x24]
mov esi, edi
shr eax, 1
lea ecx, [ecx + eax*2]
mov ax, word [edx]
lea edx, [edx + 2]
shl ax, 6
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub esi, 1
jne 0x103e6701
mov eax, dword [ebp - 0x18]
lea ecx, [edi + edi]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add eax, esi
add edx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
sub ebx, 1
jne 0x103e66f3
mov esi, dword [ebp - 0x50]
add esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], esi
test ecx, ecx
je 0x103e684b
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
nop dword [eax]
xor edx, edx
test edi, edi
je 0x103e6797
shr eax, 1
lea esi, [esi + eax*2]
nop dword [eax + eax]
mov eax, dword [ebp - 0x44]
lea esi, [esi + 4]
mov ecx, edx
add edx, 2
shr ecx, 1
add ecx, ebx
movzx eax, word [eax + ecx*2]
shl ax, 6
mov word [esi - 4], ax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + ecx*2]
shl ax, 6
mov word [esi - 2], ax
cmp edx, edi
jb 0x103e6760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x4c]
add eax, dword [ebp - 0x20]
add ebx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
jne 0x103e6750
jmp 0x103e684b
mov edx, dword [ebp - 0x20]
test ebx, ebx
je 0x103e67ef
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x103e67e0
mov edx, eax
mov esi, edi
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
sub esi, 1
jne 0x103e67c8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
add ecx, edx
add eax, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
sub ebx, 1
jne 0x103e67c0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x103e684b
xor ebx, ebx
xor esi, esi
test edi, edi
je 0x103e683b
mov edx, eax
nop dword [eax]
mov eax, dword [ebp - 0x44]
lea edx, [edx + 2]
mov ecx, esi
add esi, 2
shr ecx, 1
add ecx, ebx
mov al, byte [ecx + eax]
mov byte [edx - 2], al
mov eax, dword [ebp - 0x3c]
mov al, byte [ecx + eax]
mov byte [edx - 1], al
cmp esi, edi
jb 0x103e6810
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x40]
add eax, edx
sub ecx, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x103e6801
push dword [ebp - 0x38]
call fcn.10450877
push dword [ebp - 0x44]
call fcn.10450877
push dword [ebp - 0x3c]
call fcn.10450877
mov ebx, dword [ebp - 0x30]
add esp, 0xc
mov ecx, ebx
call fcn.102ac650
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
js 0x103e69a6
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x28]
test edi, edi
je 0x103e6892
mov edi, dword [edi + 0x10]
jmp 0x103e6894
xor edi, edi
mov ecx, dword [eax + 0x24]
push 0
push 0
push 1
push 5
call fcn.102ba590
test al, al
je 0x103e69a6
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov esi, dword [esi]
mov eax, dword [esi + 0x1a4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x1a8]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1a0]
cmp eax, dword [esi + 0x1a0]
jne 0x103e69a6
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 8]
mov ebx, dword [ecx + 0x10]
mov eax, dword [ebx + 4]
test eax, eax
je 0x103e6923
mov edx, dword [ebp - 0x30]
cmp edx, esi
je 0x103e690c
push 0
push 0
push edx
mov ecx, eax
call fcn.102aa720
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
test esi, esi
je 0x103e6923
mov ecx, dword [ebx + 4]
push 0
push 1
push esi
call fcn.102aa720
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x30]
mov esi, dword [eax]
mov eax, dword [esi + 0x74]
cmp byte [eax + 0xbd], 0
je 0x103e6969
cmp byte [ebx + 0x1b4], 0
mov edx, dword [ecx + 0x10]
je 0x103e694b
mov ecx, dword [ebx + 0x1b0]
jmp 0x103e6951
mov eax, dword [ebx + 0x74]
mov ecx, dword [eax + 0x28]
mov eax, dword [edx]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
mov ecx, edx
call dword [eax + 0x64]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 8]
jmp 0x103e696c
mov esi, dword [ebp - 0x2c]
test edi, edi
je 0x103e697c
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x20]
mov ecx, dword [esi + 8]
mov esi, dword [ecx + 0x10]
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi + 4]
mov edi, dword [eax]
test ecx, ecx
je 0x103e69a6
cmp ebx, edi
je 0x103e6997
push 0
push ebx
call fcn.102aad20
test edi, edi
je 0x103e69a6
mov ecx, dword [esi + 4]
push 0
push edi
call fcn.102aad20
mov eax, dword [ebp - 0x2c]
push ebx
mov ecx, dword [eax + 4]
call fcn.102eb890
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x1c