Function at 0x410130
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43bccb
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64c]
mov ecx, dword [esp + 0x650]
mov esi, dword [esp + 0x648]
push 0x207
lea edx, [esp + 0x31]
push 0
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x38], 0
call fcn.00420a40
push 0x7d000
call fcn.00410bca
add esp, 0x10
mov dword [esp + 0x20], eax
call fcn.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4101c9
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x43d570
push esi
mov dword [esp + 0x648], 0
call fcn.0042065d
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4103c0
push 0x400
lea ecx, [esp + 0x238]
push 0
push ecx
call fcn.00420a40
push ebp
call fcn.00420274
add esp, 0x10
test eax, eax
jne 0x4103b7
push ebp
push 0x400
lea edx, [esp + 0x23c]
push 1
push edx
call fcn.0042057c
push ebp
mov esi, eax
call fcn.004209c0
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x4103a6
mov ecx, str.LeaderCab
lea eax, [esp + 0x234]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410280
test dl, dl
je 0x41027c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410280
add eax, 2
add ecx, 2
test dl, dl
jne 0x410260
xor eax, eax
jmp 0x410285
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4103a6
push 0x208
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00420a40
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
add esp, 0xc
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4102b0
lea edi, [esp + 0x2c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4102c0
mov cx, word [0x43d584]
lea eax, [esp + 0x258]
mov word [edi], cx
mov esi, eax
jmp 0x4102e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4102e0
lea edi, [esp + 0x2c]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4102f0
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 esi, dword [esp + 0x28]
push 0
push esi
push ebx
push ebp
call fcn.00420b56
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push str.UDiskUnCompressFile_SplitFile_:_s__Begin
push eax
call fcn.00401f40
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 0
push ecx
mov ecx, 0x44d3c9
call fcn.0040bc50
mov edx, dword [esp + 0x254]
mov ecx, dword [esp + 0x2c4]
push edx
lea eax, [esp + 0x2c0]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
call fcn.0040d0e0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push str.UDiskUnCompressFile_SplitFile_:_s__End
push ecx
call fcn.00401f40
mov edi, dword [esp + 0x34]
add esp, 0x20
push 0
push edi
mov ecx, 0x44d3c9
call fcn.0040bc50
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c8]
add edx, ebx
push 0
adc eax, esi
push eax
push edx
push ebp
call fcn.00420b56
add esp, 0x10
push ebp
call fcn.00420274
add esp, 4
test eax, eax
je 0x410221
push ebp
call fcn.00420014
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00410bbf
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov dword [0x44d3c5], 1
call fcn.00410030
mov ecx, dword [esp + 0x24]
push ecx
mov esi, eax
call fcn.004089d0
lea eax, [edi - 0x10]
add esp, 0x10
mov dword [esp + 0x640], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410419
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0041eff4
add esp, 0x630
ret