Function at 0x40f8b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ee9b
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.00424c40
add esp, 0xc
push 0x7d000
call fcn.004133db
add esp, 4
mov dword [esp + 0x30], eax
call fcn.004133f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f942
push 0x80004005
call fcn.00409d60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push 0x447a7c
push esi
mov dword [esp + 0x654], 0
call fcn.00422167
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40fb39
push 0x400
lea ecx, [esp + 0x240]
push 0
push ecx
call fcn.00424c40
add esp, 0xc
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
jne 0x40fb30
push ebp
push 0x400
lea edx, [esp + 0x244]
push 1
push edx
call fcn.00422af3
push ebp
mov esi, eax
call fcn.004227a1
add esp, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x40fb1f
mov ecx, str.LeaderCab
lea eax, [esp + 0x23c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40fa00
test dl, dl
je 0x40f9fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40fa00
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f9e0
xor eax, eax
jmp 0x40fa05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40fb1f
push 0x208
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00424c40
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 0x40fa28
lea edi, [esp + 0x34]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40fa37
mov cx, word [0x4478d8]
lea eax, [esp + 0x260]
mov word [edi], cx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fa52
lea edi, [esp + 0x34]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40fa60
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.00422bac
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push str.UDiskUnCompressFile_SplitFile_:_s__Begin
push eax
call fcn.00409670
mov ecx, dword [esp + 0x34]
add esp, 0x1c
push 0
push ecx
push 0x453d09
call fcn.0040d390
mov edx, dword [esp + 0x25c]
push edx
mov edx, dword [esp + 0x2d0]
lea eax, [esp + 0x38]
push eax
push ebp
lea ecx, [esp + 0x2d0]
call fcn.004120b0
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push str.UDiskUnCompressFile_SplitFile_:_s__End
push edx
call fcn.00409670
mov ebx, dword [esp + 0x24]
add esp, 0xc
push 0
push ebx
push 0x453d09
call fcn.0040d390
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2d0]
add eax, esi
push 0
adc ecx, edi
push ecx
push eax
push ebp
call fcn.00422bac
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.004227eb
add esp, 4
test eax, eax
je 0x40f99d
push ebp
call fcn.004221f5
add esp, 4
mov edx, dword [esp + 0x30]
push edx
call fcn.004133e6
mov edi, dword [esp + 0x24]
add esp, 4
lea esi, [esp + 0x34]
mov dword [0x453d05], 1
call fcn.0040ed70
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409ea0
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 0x40fb93
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.0042179d
add esp, 0x63c
ret