Function at 0x43f936
Capabilities:
Read file on windows

Disassembly:
push 0x1f0
mov eax, 0x44f3a9
call fcn.0041be8d
mov esi, 0x49205c
push esi
push 0x44c
call fcn.0044133e
push esi
call fcn.0043f4d7
mov eax, dword [0x491de8]
shr eax, 0x11
and al, 1
je 0x43fc30
xor eax, eax
mov dword [ebp - 0x30], 7
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], cx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
cmp dword [0x491cec], 8
mov ecx, 0x491cd8
cmovae ecx, dword [0x491cd8]
call fcn.004092fb
push 0x2e
lea ecx, [ebp - 0x44]
call fcn.00409e28
push str.xstg
lea ecx, [ebp - 0x44]
call fcn.00406b33
mov edx, dword [0x491e14]
lea ecx, [ebp - 0x44]
ror edx, 5
call fcn.0044af80
test al, al
je 0x43fbd8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x462510
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00426e01
mov edi, eax
mov dword [ebp - 0x1e8], edi
pop ecx
pop ecx
test edi, edi
je 0x43fbd8
mov ecx, edi
call fcn.00407a9b
mov esi, eax
push esi
mov dword [ebp - 0x1e0], esi
call fcn.0041b7b2
push edi
push 1
push esi
push eax
mov dword [ebp - 0x1e4], eax
call fcn.00427464
add esp, 0x14
test eax, eax
je 0x43fbc0
lea ecx, [ebp - 0xe4]
call fcn.004068aa
xor eax, eax
push 0xf
pop esi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0xbc], al
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], esi
mov byte [ebp - 0xa4], al
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x8c], al
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x74], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
call fcn.00405f93
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0044a7e0
test al, al
je 0x43fb41
and dword [0x49206c], 0
mov ecx, 0x49205c
cmp dword [0x492070], 0x10
mov eax, ecx
push dword [ebp - 0x94]
cmovae eax, dword [0x49205c]
cmp dword [ebp - 0x90], 0x10
mov byte [eax], 0
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00405f93
push 0x49205c
call fcn.0043f4d7
and dword [0x4920b4], 0
mov ecx, 0x4920a4
cmp dword [0x4920b8], 0x10
mov eax, ecx
push dword [ebp - 0x7c]
cmovae eax, dword [0x4920a4]
cmp dword [ebp - 0x78], 0x10
mov byte [eax], 0
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00405f93
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x43fb9c
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43fb93
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x1e8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0041b4fb
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
call fcn.004068d9
jmp 0x43fbc3
push 0xf
pop esi
push dword [ebp - 0x1e4]
call fcn.0041b7ad
push edi
call fcn.00426518
pop ecx
pop ecx
jmp 0x43fbdb
push 0xf
pop esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x43fc33
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43fc25
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0041b4fb
pop ecx
pop ecx
jmp 0x43fc33
push 0xf
pop esi
mov edi, 0x492074
push edi
push 0x438
call fcn.0044133e
cmp dword [0x492084], 2
jbe 0x43fc52
push edi
call fcn.00410d18
mov ecx, dword [0x492050]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x491de8]
shr eax, 0x12
test al, 1
je 0x43fc98
lea ecx, [ebp - 0x1a4]
call fcn.00406244
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 5
call fcn.0040d23c
test al, al
jne 0x43fd77
lea ecx, [ebp - 0x1a4]
call fcn.00406389
xor eax, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
push 0x40b
call fcn.004413fc
test al, al
je 0x43fcf7
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040b5f2
mov byte [ebp - 4], 9
mov ecx, dword [0x4920bc]
test ecx, ecx
je 0x43fce8
lea eax, [ebp - 0x1dc]
push eax
call fcn.0044a500
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
call fcn.0040b65c
call fcn.00440bbe
cmp dword [0x491f48], 0
jne 0x43fd0e
cmp dword [0x491f4c], 0
je 0x43fd13
call fcn.00440302
mov ecx, dword [0x492050]
mov eax, dword [ecx]
call dword [eax]
push edi
call fcn.00440af4
call fcn.0043ff68
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x43fd71
mov ecx, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43fd68
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00401dfe
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0041b4fb
pop ecx
pop ecx
call fcn.0041bddf
ret
lea eax, [ebp - 0x44]
push 0x43
push eax
call fcn.0040260b
mov ecx, eax
call fcn.00407520
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404ba2
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00403e3d
push 0x467cec
lea eax, [ebp - 0x1fc]
push eax
call fcn.0041e77e
int3