Function at 0x4563c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa895
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
movzx eax, byte [ebx + 2]
cmp eax, 0xff
ja case.default.0x45640d
je case.0x45640d.0
cmp eax, 3
ja case.default.0x45640d
jmp dword [eax*4 + 0x4568b0]
lea eax, [esi + esi*2]
cmp dword [eax*4 + 0x550050], 0
jne case.default.0x45640d
or byte [ebx + 1], 0x80
jmp case.default.0x45640d
lea eax, [esi + esi*2]
cmp dword [eax*4 + 0x550050], 0
je 0x456425
mov eax, dword [eax*4 + 0x550058]
sub eax, 2
je 0x456487
sub eax, 3
je 0x45646e
xor eax, eax
mov dword [ebx + 5], eax
mov dword [ebx + 9], eax
mov dword [ebx + 0xd], eax
mov dword [ebx + 0x11], eax
mov dword [ebx + 0x15], eax
mov dword [ebx + 0x19], eax
mov dword [ebx + 0x1d], eax
mov dword [ebx + 0x21], eax
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
mov eax, dword [fcn.00401ae0]
test eax, eax
je case.default.0x45640d
push ebx
push esi
call eax
add esp, 8
jmp case.default.0x45640d
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 0x8001
jne 0x4564c5
lea ecx, [ebx + 5]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
call fcn.00456380
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
and ecx, 0xffe0
mov dword [ebp - 0x5c], ecx
cmp ecx, 0x7fe0
ja 0x4565e7
lea ecx, [ebp - 0x58]
call fcn.0040ca30
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x456502
mov eax, dword [ebp - 0x28]
push 0x537bfc
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edi, eax
cmp ecx, 0x10
jb 0x456546
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45653c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568a1
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x4565b2
push edi
push 0x8000
push 1
push 0x195f2c0
call fcn.004cefce
push edi
push 0x8000
push 1
push 0x19672c0
call fcn.004cefce
push edi
push 0x8000
push 1
push 0x196f2c0
call fcn.004cefce
push edi
push 0x8000
push 1
push 0x19772c0
call fcn.004cefce
add esp, 0x40
push edi
call fcn.004cea42
add esp, 4
jmp 0x4565b7
call fcn.00456090
shl esi, 0xf
lea edi, [ebx + 5]
mov ecx, 8
lea esi, [esi + 0x195f2c0]
add esi, dword [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x58]
call fcn.00403fb0
lea eax, [ebx + 5]
mov ecx, eax
call fcn.00456380
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
lea eax, [ebx + 5]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ecx, eax
call fcn.00456380
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
lea eax, [esi + esi*2]
cmp dword [eax*4 + 0x550050], 0
je 0x456425
mov eax, dword [eax*4 + 0x550058]
sub eax, 2
je 0x456648
sub eax, 3
je 0x45646e
lea ecx, [ebx + 5]
call fcn.00456380
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
movzx edi, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl edi, 8
or edi, eax
cmp edi, 0x8001
je 0x45683c
and edi, 0xffe0
cmp edi, 0x7fe0
ja 0x45683c
lea ecx, [ebp - 0x40]
call fcn.0040ca30
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x45669b
mov eax, dword [ebp - 0x28]
push 0x537c00
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x5c], eax
cmp ecx, 0x10
jb 0x4566e3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4566d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568a6
push ecx
push edx
call fcn.0049dbeb
mov eax, dword [ebp - 0x5c]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
je 0x456757
push eax
push 0x8000
push 1
push 0x195f2c0
call fcn.004cefce
push dword [ebp - 0x5c]
push 0x8000
push 1
push 0x19672c0
call fcn.004cefce
push dword [ebp - 0x5c]
push 0x8000
push 1
push 0x196f2c0
call fcn.004cefce
push dword [ebp - 0x5c]
push 0x8000
push 1
push 0x19772c0
call fcn.004cefce
add esp, 0x40
push dword [ebp - 0x5c]
call fcn.004cea42
add esp, 4
jmp 0x45675c
call fcn.00456090
shl esi, 0xf
lea edi, [edi + 0x195f2c0]
add edi, esi
lea eax, [ebp - 0x28]
mov ecx, 8
lea esi, [ebx + 5]
rep movsd dword es:[edi], dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x45678a
mov eax, dword [ebp - 0x28]
push 0x537c6c
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x4567ce
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4567c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568ab
push ecx
push edx
call fcn.0049dbeb
add esp, 8
push esi
push 0x8000
push 1
push 0x195f2c0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004ce0c0
push esi
push 0x8000
push 1
push 0x19672c0
call fcn.004ce0c0
push esi
push 0x8000
push 1
push 0x196f2c0
call fcn.004ce0c0
push esi
push 0x8000
push 1
push 0x19772c0
call fcn.004ce0c0
add esp, 0x40
push esi
call fcn.004cea42
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00403fb0
lea ecx, [ebx + 5]
call fcn.00456380
mov byte [ebx + 0x25], al
jmp case.default.0x45640d
mov al, byte [ebx + 1]
test al, al
js case.default.0x45640d
lea ecx, [esi + esi*2]
cmp dword [ecx*4 + 0x550050], 0
je 0x456880
mov word [ebx + 3], 5
mov eax, dword [ecx*4 + 0x550058]
sub eax, 2
je 0x45687a
sub eax, 3
je 0x45687a
mov byte [ebx + 5], 0
jmp case.default.0x45640d
mov byte [ebx + 5], 1
jmp case.default.0x45640d
or al, 0x80
mov byte [ebx + 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret
call fcn.004cb586
call fcn.004cb586
call fcn.004cb586
dec ecx
push 1679032389
inc ebp
add byte [esi], ch
inc ebp
add byte [edx], dl
inc bp
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp