Function at 0x43df3e
Capabilities:
Read file on windows

Disassembly:
push 0x1f0
mov eax, 0x44d978
call fcn.0041becd
mov esi, 0x48ff4c
push esi
push 0x44c
call fcn.0043f946
push esi
call fcn.0043dadf
mov eax, dword [0x48fcd8]
shr eax, 0x11
and al, 1
je 0x43e238
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 [0x48fbdc], 8
mov ecx, 0x48fbc8
cmovae ecx, dword [0x48fbc8]
call fcn.0040932f
push 0x2e
lea ecx, [ebp - 0x44]
call fcn.00409e5c
push str.xstg
lea ecx, [ebp - 0x44]
call fcn.00406b33
mov edx, dword [0x48fd04]
lea ecx, [ebp - 0x44]
ror edx, 5
call fcn.00449590
test al, al
je 0x43e1e0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x460390
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0042555b
mov edi, eax
mov dword [ebp - 0x1e8], edi
pop ecx
pop ecx
test edi, edi
je 0x43e1e0
mov ecx, edi
call fcn.00407acf
mov esi, eax
push esi
mov dword [ebp - 0x1e0], esi
call fcn.0041b7f2
push edi
push 1
push esi
push eax
mov dword [ebp - 0x1e4], eax
call fcn.00425b8e
add esp, 0x14
test eax, eax
je 0x43e1c8
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.00448df0
test al, al
je 0x43e149
and dword [0x48ff5c], 0
mov ecx, 0x48ff4c
cmp dword [0x48ff60], 0x10
mov eax, ecx
push dword [ebp - 0x94]
cmovae eax, dword [0x48ff4c]
cmp dword [ebp - 0x90], 0x10
mov byte [eax], 0
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00405f93
push 0x48ff4c
call fcn.0043dadf
and dword [0x48ffa4], 0
mov ecx, 0x48ff94
cmp dword [0x48ffa8], 0x10
mov eax, ecx
push dword [ebp - 0x7c]
cmovae eax, dword [0x48ff94]
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 0x43e1a4
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43e19b
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.0041b53b
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 0x43e1cb
push 0xf
pop esi
push dword [ebp - 0x1e4]
call fcn.0041b7ed
push edi
call fcn.00424c3c
pop ecx
pop ecx
jmp 0x43e1e3
push 0xf
pop esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x43e23b
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43e22d
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.0041b53b
pop ecx
pop ecx
jmp 0x43e23b
push 0xf
pop esi
mov edi, 0x48ff64
push edi
push 0x438
call fcn.0043f946
cmp dword [0x48ff74], 2
jbe 0x43e25a
push edi
call fcn.00410d4c
mov ecx, dword [0x48ff40]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x48fcd8]
shr eax, 0x12
test al, 1
je 0x43e2a0
lea ecx, [ebp - 0x1a4]
call fcn.00406244
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 5
call fcn.0040d270
test al, al
jne 0x43e37f
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.0043fa04
test al, al
je 0x43e2ff
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040b626
mov byte [ebp - 4], 9
mov ecx, dword [0x48ffac]
test ecx, ecx
je 0x43e2f0
lea eax, [ebp - 0x1dc]
push eax
call fcn.00448b10
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
call fcn.0040b690
call fcn.0043f1c6
cmp dword [0x48fe38], 0
jne 0x43e316
cmp dword [0x48fe3c], 0
je 0x43e31b
call fcn.0043e90a
mov ecx, dword [0x48ff40]
mov eax, dword [ecx]
call dword [eax]
push edi
call fcn.0043f0fc
call fcn.0043e570
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x43e379
mov ecx, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x43e370
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.0041b53b
pop ecx
pop ecx
call fcn.0041be1f
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 0x465b2c
lea eax, [ebp - 0x1fc]
push eax
call fcn.0041e7be
int3