Function at 0x43fdef
Capabilities:
Read file on windows

Disassembly:
push 0x1f0
mov eax, 0x44ebe9
call fcn.0041bc4d
mov esi, 0x491f44
push esi
push 0x44c
call fcn.0044140f
push esi
call fcn.0043fa37
mov eax, dword [0x491cd0]
shr eax, 0x11
test al, 1
je 0x4400a9
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
and dword [ebp - 4], eax
lea edx, [ebp - 0x44]
cmp dword [0x491bec], 8
mov ecx, 0x491bd8
cmovae ecx, dword [0x491bd8]
call fcn.00409951
push 0x2e
lea ecx, [ebp - 0x44]
call fcn.0040a4ad
push str.xstg
lea ecx, [ebp - 0x44]
call fcn.00401e27
mov edx, dword [0x491cfc]
lea ecx, [ebp - 0x44]
ror edx, 5
call fcn.0044ab80
test al, al
je 0x440056
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x462398
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00421683
mov esi, eax
mov dword [ebp - 0x1ec], esi
pop ecx
pop ecx
test esi, esi
je 0x440056
mov ecx, esi
call fcn.004081d8
mov edi, eax
push edi
mov dword [ebp - 0x1e4], edi
call fcn.0041b56c
push esi
push 1
push edi
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00427965
add esp, 0x14
test eax, eax
je 0x440042
lea ecx, [ebp - 0x11c]
call fcn.00407173
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1e0]
push edi
call fcn.0040212c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0044a3d0
test al, al
je 0x43ffbf
cmp dword [0x491f58], 0x10
mov ecx, 0x491f44
push dword [ebp - 0xcc]
mov eax, ecx
cmovae eax, dword [0x491f44]
and dword [0x491f54], 0
cmp dword [ebp - 0xc8], 0x10
mov byte [eax], 0
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push eax
call fcn.0040212c
push 0x491f44
call fcn.0043fa37
cmp dword [0x491fa0], 0x10
mov ecx, 0x491f8c
push dword [ebp - 0xb4]
mov eax, ecx
cmovae eax, dword [0x491f8c]
and dword [0x491f9c], 0
cmp dword [ebp - 0xb0], 0x10
mov byte [eax], 0
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push eax
call fcn.0040212c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
and dword [ebp - 0x1c], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x44001a
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], ecx
cmp eax, 0x1000
jb 0x440011
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.00402494
mov eax, dword [ebp - 0x1e0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e4]
push eax
push ecx
call fcn.0041b2b5
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004071d8
jmp 0x440048
mov edi, dword [ebp - 0x1e0]
push edi
call fcn.0041b567
push esi
call fcn.00421ac1
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4400a9
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x4400a0
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00402494
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0041b2b5
pop ecx
pop ecx
mov esi, 0x491f5c
push esi
push 0x438
call fcn.0044140f
cmp dword [0x491f6c], 2
jbe 0x4400c8
push esi
call fcn.00410c33
mov ecx, dword [0x491f38]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x491cd0]
shr eax, 0x12
test al, 1
je 0x44010e
lea ecx, [ebp - 0x1dc]
call fcn.004069c7
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 4], 5
call fcn.0040d751
test al, al
jne 0x4401f7
lea ecx, [ebp - 0x1dc]
call fcn.00406b1c
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
push 0x40b
call fcn.00441484
test al, al
je 0x440177
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bd04
mov byte [ebp - 4], 9
mov ecx, dword [0x491fa4]
test ecx, ecx
je 0x440168
lea eax, [ebp - 0x94]
push eax
call fcn.0044a0c0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 8
call fcn.0040bd62
call fcn.00440dc9
cmp dword [0x491e30], 0
jne 0x44018e
cmp dword [0x491e34], 0
je 0x440193
call fcn.00440730
mov ecx, dword [0x491f38]
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.00440d03
call fcn.004403f6
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4401f1
mov ecx, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x4401e8
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00402494
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0041b2b5
pop ecx
pop ecx
call fcn.0041bb9f
ret
lea eax, [ebp - 0x44]
push 0x43
push eax
call fcn.004013a0
mov ecx, eax
call fcn.00407cad
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405461
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00404a01
push 0x467d7c
lea eax, [ebp - 0x1fc]
push eax
call fcn.0041ec7e
int3