Function at 0x410720
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43c61b
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
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.00421360
push 0x7d000
call fcn.0041152f
add esp, 0x10
mov dword [esp + 0x20], eax
call fcn.004125a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4107b9
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 0x43e570
push esi
mov dword [esp + 0x648], 0
call fcn.00420f7d
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4109b0
push 0x400
lea ecx, [esp + 0x238]
push 0
push ecx
call fcn.00421360
push ebp
call fcn.00420b94
add esp, 0x10
test eax, eax
jne 0x4109a7
push ebp
push 0x400
lea edx, [esp + 0x23c]
push 1
push edx
call fcn.00420e9c
push ebp
mov esi, eax
call fcn.004212e0
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x410996
mov ecx, str.LeaderCab
lea eax, [esp + 0x234]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410870
test dl, dl
je 0x41086c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410870
add eax, 2
add ecx, 2
test dl, dl
jne 0x410850
xor eax, eax
jmp 0x410875
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410996
push 0x208
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00421360
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 0x4108a0
lea edi, [esp + 0x2c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4108b0
mov cx, word [0x43e584]
lea eax, [esp + 0x258]
mov word [edi], cx
mov esi, eax
jmp 0x4108d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4108d0
lea edi, [esp + 0x2c]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4108e0
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.00421476
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, 0x44e3c9
call fcn.0040be50
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.0040d6a0
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, 0x44e3c9
call fcn.0040be50
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.00421476
add esp, 0x10
push ebp
call fcn.00420b94
add esp, 4
test eax, eax
je 0x410811
push ebp
call fcn.00420934
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041153a
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov dword [0x44e3c5], 1
call fcn.00410620
mov ecx, dword [esp + 0x24]
push ecx
mov esi, eax
call fcn.004086c0
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 0x410a09
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.0041f914
add esp, 0x630
ret