Function at 0x456df2
Capabilities:
Read file on windows

Disassembly:
push 0x278
mov eax, 0x463a14
call fcn.0041ceb5
mov ebx, 0x4ad5dc
push ebx
push 0x44c
call fcn.00458477
push ebx
call fcn.00456a5c
mov eax, dword [0x4ad398]
shr eax, 0x11
and al, 1
je 0x457058
xor ebx, ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x2c]
cmp dword [0x4ad2bc], 8
mov ecx, 0x4ad2a8
cmovae ecx, dword [0x4ad2a8]
call fcn.00409922
push 0x2e
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040a23f
mov esi, str.xstg
push esi
call fcn.00402f31
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402dd8
mov edx, dword [0x4ad3c4]
lea ecx, [ebp - 0x2c]
ror edx, 5
call fcn.0045f560
test al, al
je 0x457047
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x479544
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0043cf4b
mov esi, eax
mov dword [ebp - 0x270], esi
pop ecx
pop ecx
test esi, esi
je 0x457047
mov ecx, esi
call fcn.0040bbfc
push eax
mov dword [ebp - 0x26c], eax
call fcn.0041c5ee
mov edi, eax
mov dword [ebp - 0x274], edi
pop ecx
test edi, edi
je 0x457040
push esi
push 1
push dword [ebp - 0x26c]
push edi
call fcn.0043d148
add esp, 0x10
test eax, eax
je 0x457039
lea ecx, [ebp - 0xe4]
call fcn.004069af
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
push edi
call fcn.00405f8c
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045f320
test al, al
je 0x456ffd
cmp dword [0x4ad5f0], 0x10
mov ecx, 0x4ad5dc
mov eax, ecx
mov dword [0x4ad5ec], ebx
cmovae eax, dword [0x4ad5dc]
mov byte [eax], bl
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00405f8c
push 0x4ad5dc
call fcn.00456a5c
cmp dword [0x4ad638], 0x10
mov ecx, 0x4ad624
mov eax, ecx
mov dword [0x4ad634], ebx
cmovae eax, dword [0x4ad624]
mov byte [eax], bl
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00405f8c
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ebx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
push 1
mov byte [eax], bl
call fcn.004060bd
lea ecx, [ebp - 0xe4]
call fcn.004069de
jmp 0x457039
push edi
call fcn.0041c5e9
pop ecx
push esi
call fcn.0043c824
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401ca4
jmp 0x45705a
xor ebx, ebx
mov esi, 0x4ad5f4
push esi
push 0x438
call fcn.00458477
cmp dword [0x4ad604], 2
jbe 0x457079
push esi
call fcn.00411c08
mov ecx, dword [0x4ad5d0]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x4ad398]
shr eax, 0x12
test al, 1
je 0x457121
lea ecx, [ebp - 0x264]
call fcn.0040646c
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 5
call fcn.0040e5b7
test al, al
je 0x457116
push 0x43
lea eax, [ebp - 0x44]
mov ecx, 0x489128
push eax
call fcn.00407edc
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x24]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00406276
mov esi, 0x473c88
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x284]
call fcn.004062ad
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x284]
push 0x482100
push eax
mov dword [ebp - 0x284], esi
call fcn.00436f56
lea ecx, [ebp - 0x264]
call fcn.004065c2
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
push 0x40b
call fcn.004584f3
test al, al
je 0x45717f
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040c97c
mov byte [ebp - 4], 9
mov ecx, dword [0x4ad63c]
test ecx, ecx
je 0x457170
lea eax, [ebp - 0x11c]
push eax
call fcn.0045f160
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.0040c9e6
call fcn.00457f5d
cmp dword [0x4ad4c8], 0
jne 0x457196
cmp dword [0x4ad4cc], 0
je 0x45719b
call fcn.0045771b
mov ecx, dword [0x4ad5d0]
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.00457e79
call fcn.0045738c
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.004060bd
call fcn.0041ce02
ret