Function at 0x422f00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46405c
mov eax, dword fs:[0]
push eax
mov eax, 0x1d20
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x1d1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x1d34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1d4c]
push ebp
push str.Extracting_File__s
mov esi, ecx
call fcn.00414ec0
add esp, 8
cmp dword [esp + 0x1d50], 0
je 0x42303f
push 0x800
lea eax, [esp + 0x1534]
push 0
push eax
call fcn.00449530
mov eax, dword [esi + 0x14]
add esp, 0xc
push ebp
push eax
lea ecx, [esp + 0x1538]
push ecx
call dword [0x46839c]
mov eax, dword [0x47d064]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xc3
lea ecx, [esp + 0x18]
mov dword [esp + 0x1d40], 0
call fcn.00417490
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d40], 1
call fcn.00416ef0
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x1d3c], 0
cmp edx, dword [0x47d060]
je 0x423001
add eax, 0xfffffff4
push eax
call dword [0x468284]
test eax, eax
jg 0x423001
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00449df5
add esp, 4
lea ecx, [esp + 0x1530]
push ecx
lea ecx, [esp + 0x24]
call fcn.00416ef0
mov eax, dword [esi + 0x2d8]
push 0
lea edx, [esp + 0x20]
push edx
push 0x3443
push eax
call dword [0x4683c4]
push ebp
push str._s_is_folder._return.
call fcn.00414ec0
lea ecx, [esp + 0x24]
jmp 0x42345e
mov ecx, dword [0x4809b4]
test ecx, ecx
je 0x423054
call fcn.0042f500
mov ebx, eax
test ebx, ebx
jne 0x42305e
mov eax, 2
jmp 0x423468
push 0x800
lea ecx, [esp + 0x534]
push 0
push ecx
call fcn.00449530
mov eax, dword [esi + 0x14]
mov edi, dword [0x46839c]
add esp, 0xc
push ebp
push eax
lea edx, [esp + 0x538]
push edx
call edi
push 0x800
lea eax, [esp + 0xd34]
push 0
push eax
call fcn.00449530
mov eax, dword [esi + 0x18]
add esp, 0xc
push ebp
push eax
lea ecx, [esp + 0xd38]
push ecx
call edi
mov eax, dword [0x47d064]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edi, 2
push 0xbf
lea ecx, [esp + 0x18]
mov dword [esp + 0x1d40], edi
call fcn.00417490
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d40], 3
call fcn.00416ef0
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x1d3c], 2
cmp edx, dword [0x47d060]
je 0x423124
add eax, 0xfffffff4
push eax
call dword [0x468284]
test eax, eax
jg 0x423124
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00449df5
add esp, 4
lea ecx, [esp + 0x530]
push ecx
lea ecx, [esp + 0x30]
call fcn.00416ef0
mov eax, dword [esi + 0x2d8]
push 0
lea edx, [esp + 0x2c]
push edx
push 0x3443
push eax
call dword [0x4683c4]
lea ecx, [esp + 0x530]
push ecx
call dword [0x468398]
test eax, eax
je 0x423384
push 0x2a0
lea edx, [esp + 0x294]
push 0
push edx
call fcn.00449530
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add esp, 0xc
lea ecx, [esp + 0x290]
push ecx
lea edx, [esp + 0x534]
push edx
push ebx
call eax
lea ecx, [esi + 0x258]
lea eax, [esp + 0x4c8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4231c6
test dx, dx
je 0x4231c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4231c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4231a0
xor eax, eax
jmp 0x4231cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4231da
push ebp
push str._s_is_same_file_to_dest.
jmp 0x423455
cmp dword [esi + 0x228], 0
je 0x423251
lea ecx, [esp + 0x4a8]
push ecx
lea edx, [esi + 0x238]
push edx
call fcn.00422140
add esp, 8
test eax, eax
jge 0x423384
push ebp
call dword [0x468360]
push eax
push 0x208
lea eax, [esp + 0x3c]
push eax
call fcn.0040cfb0
lea eax, [esi + 0x258]
push eax
push 0x50
lea ecx, [esp + 0x248]
push ecx
mov dword [esp + 0x248], edi
call fcn.0040cfb0
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x2c0]
call fcn.00422e50
push ebp
push str._s_is_older_than_dest.
jmp 0x423455
lea edi, [esi + 0x238]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423260
sub eax, edx
sar eax, 1
je 0x4232ec
lea eax, [esp + 0x4a8]
lea edx, [eax + 2]
jmp 0x423280
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423280
sub eax, edx
sar eax, 1
je 0x4232ec
lea eax, [esp + 0x4a8]
push eax
push edi
call fcn.00422140
add esp, 8
test eax, eax
jge 0x423384
push ebp
call dword [0x468360]
push eax
push 0x208
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040cfb0
lea eax, [esi + 0x258]
push eax
push 0x50
lea edx, [esp + 0x248]
push edx
mov dword [esp + 0x248], 2
call fcn.0040cfb0
lea eax, [esp + 0x34]
push eax
jmp 0x42323b
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x60]
xor eax, eax
push eax
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x53c]
push eax
push ebx
call ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x60]
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xd3c]
push ecx
push ebx
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [0x46805c]
test eax, eax
jge 0x423384
push ebp
call dword [0x468360]
push eax
push 0x208
lea edx, [esp + 0x3c]
push edx
call fcn.0040cfb0
lea eax, [esi + 0x258]
push eax
push 0x50
lea eax, [esp + 0x248]
push eax
mov dword [esp + 0x248], 3
call fcn.0040cfb0
lea ecx, [esp + 0x34]
push ecx
jmp 0x42323b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x534]
push eax
lea ecx, [esp + 0xd38]
push ecx
mov dword [esp + 0x20], 0
call fcn.00421980
add esp, 0xc
test eax, eax
jne 0x4233c4
lea edx, [esp + 0x530]
push edx
push str.Copy_file__s_failed_
call fcn.00414ec0
add esp, 8
jmp 0x423410
mov edi, dword [esp + 0x14]
test edi, edi
je 0x423410
push ebp
call dword [0x468360]
push eax
push 0x208
lea eax, [esp + 0x3c]
push eax
call fcn.0040cfb0
lea ecx, [esi + 0x258]
push ecx
push 0x50
lea edx, [esp + 0x248]
push edx
mov dword [esp + 0x248], edi
call fcn.0040cfb0
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x2c0]
call fcn.00422e50
cmp dword [esi + 0x228], 0
jne 0x42342d
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x40]
lea edx, [esi + 0x20]
push edx
lea eax, [esp + 0x534]
push eax
push ebx
call ecx
cmp dword [esi + 0x2b0], 0
je 0x42344f
mov edx, dword [esi + 0x1c]
cmp dword [edx - 8], 0
je 0x42344f
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x530]
push ecx
push ebx
call edx
push ebp
push str.Extract__s_done.
call fcn.00414ec0
lea ecx, [esp + 0x30]
add esp, 8
call fcn.00415600
xor eax, eax
mov ecx, dword [esp + 0x1d34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d1c]
xor ecx, esp
call fcn.0044951c
add esp, 0x1d2c
ret 0x10
mov eax, dword [esp + 8]
test eax, eax
jne 0x42d6e0
mov eax, 2
ret 0x10
mov edx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
add ecx, 0x58
jmp 0x422f00