Function at 0x41adf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553e22
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x61308c]
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 dword [ebp - 0xbc], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0xb8], esp
xor eax, eax
lea ebx, [ebp - 0x40]
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x41ae78
xor ecx, ecx
jmp 0x41ae8f
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae80
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00404d30
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.0040d9d0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x58e20c
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 0xb1], 0
call fcn.0052e7c1
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x41b14c
push 2
push 0
push ebx
call fcn.0052f105
push ebx
call fcn.0052fa00
mov dword [ebp - 0xb8], eax
lea esi, [eax + 1]
push esi
call fcn.00512116
push esi
mov edi, eax
push 0
push edi
call fcn.0052d340
push 0
push 0
push ebx
call fcn.0052f105
mov esi, dword [ebp - 0xb8]
push ebx
push 1
push esi
push edi
call fcn.0052ea9a
push ebx
call fcn.0052e84e
mov dword [ebp - 0x18], 0
add esp, 0x40
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x41afd6
test esi, esi
jle 0x41afd6
lea ecx, [ebp - 0xb0]
call fcn.00509d30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
push 0
call fcn.0050d410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
push 1
push ecx
lea eax, [esi + edi]
push eax
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
call fcn.0050b5f0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.0050d710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.0041b330
test bl, bl
je 0x41afd6
push dword [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
push eax
call fcn.0041d910
jmp 0x41b0b4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call fcn.0041b540
test al, al
je 0x41b0e2
mov ebx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xc8]
sub ebx, esi
test esi, esi
je 0x41b0e2
test ebx, ebx
jle 0x41b0e2
lea ecx, [ebp - 0xb0]
call fcn.00509d30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
push 0
call fcn.0050d410
mov byte [ebp - 4], 7
lea eax, [ebp - 0xdc]
push 1
push eax
lea eax, [esi + ebx]
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0050b5f0
mov bl, al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
call fcn.0050d710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.0041b330
test bl, bl
je 0x41b0e2
push dword [ebp - 0xc4]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
push eax
call fcn.0041d990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.0041a2f0
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0041b810
mov bl, al
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41b116
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00409490
jmp 0x41b116
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.0041a2f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41b10a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409490
mov esi, dword [ebp - 0xbc]
mov bl, byte [ebp - 0xb1]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test edi, edi
je 0x41b135
push edi
call fcn.0051211f
add esp, 4
test bl, bl
je 0x41b152
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
test eax, eax
je 0x41b152
mov ecx, 0x1ae7c
jmp 0x41b157
mov bl, byte [ebp - 0xb1]
mov ecx, 0x1ae7d
push 0
xor edx, edx
call fcn.00411230
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x41b17f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409490
mov dword [ebp - 0x2c], 0xf
mov al, bl
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
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.005120a1
mov esp, ebp
pop ebp
ret 4