Function at 0x40fe80
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43f85b
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x644]
mov dword fs:[0], eax
mov eax, dword [esp + 0x654]
push 0x207
mov esi, ecx
lea ecx, [esp + 0x39]
mov edi, edx
push 0
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov byte [esp + 0x40], 0
call fcn.004253a0
add esp, 0xc
push 0x7d000
call fcn.00413bd6
add esp, 4
mov dword [esp + 0x30], eax
call fcn.00413be1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ff12
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push 0x447ae8
push esi
mov dword [esp + 0x654], 0
call fcn.004228cf
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x410110
push 0x400
lea ecx, [esp + 0x240]
push 0
push ecx
call fcn.004253a0
add esp, 0xc
push ebp
call fcn.0042303e
add esp, 4
test eax, eax
jne 0x410107
push ebp
push 0x400
lea edx, [esp + 0x244]
push 1
push edx
call fcn.00423346
push ebp
mov esi, eax
call fcn.00422e10
add esp, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x4100f6
mov ecx, str.LeaderCab
lea eax, [esp + 0x23c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ffd0
test dl, dl
je 0x40ffcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ffd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ffb0
xor eax, eax
jmp 0x40ffd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4100f6
push 0x208
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004253a0
lea edx, [esp + 0x40]
add esp, 0xc
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40fff8
lea edi, [esp + 0x34]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x410007
mov cx, word [0x447968]
lea eax, [esp + 0x260]
mov word [edi], cx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410022
lea edi, [esp + 0x34]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410030
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push 0
push edi
push esi
push ebp
call fcn.00422a75
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push str.UDiskUnCompressFile_SplitFile_:_s__Begin
push eax
call fcn.00409910
mov ecx, dword [esp + 0x34]
add esp, 0x1c
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov edx, dword [esp + 0x25c]
mov eax, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x2cc]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x2d4]
mov edx, ebp
call fcn.00412810
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push str.UDiskUnCompressFile_SplitFile_:_s__End
push ecx
call fcn.00409910
mov ebx, dword [esp + 0x34]
add esp, 0x1c
push 0
push ebx
push 0x453d11
call fcn.0040d890
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2d0]
add edx, esi
push 0
adc eax, edi
push eax
push edx
push ebp
call fcn.00422a75
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.0042303e
add esp, 4
test eax, eax
je 0x40ff6d
push ebp
call fcn.0042295d
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00413bcb
mov edi, dword [esp + 0x24]
add esp, 4
lea esi, [esp + 0x34]
mov dword [0x453d0d], 1
call fcn.0040f3b0
mov edx, dword [esp + 0x1c]
push edx
mov esi, eax
call fcn.0040a170
lea eax, [ebx - 0x10]
add esp, 4
mov dword [esp + 0x64c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41016a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x644]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.00421f05
add esp, 0x63c
ret