Function at 0x431780
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468f6c
mov eax, dword fs:[0]
push eax
mov eax, 0x1d20
call fcn.0044ef90
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1d1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x1d34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1d4c]
push edi
push str.Extracting_File__s
mov esi, ecx
call fcn.00415490
add esp, 8
cmp dword [esp + 0x1d50], 0
je 0x426f3f
push 0x800
lea eax, [esp + 0x1534]
push 0
push eax
call fcn.0044e060
mov eax, dword [esi + 0x14]
add esp, 0xc
push edi
push eax
lea ecx, [esp + 0x1538]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x484064]
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.00418500
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d40], 1
call fcn.00417f60
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x1d3c], 0
cmp edx, dword [0x484060]
je 0x426f01
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426f01
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
lea ecx, [esp + 0x1530]
push ecx
lea ecx, [esp + 0x24]
call fcn.00417f60
mov eax, dword [esi + 0x2d8]
push 0
lea edx, [esp + 0x20]
push edx
push 0x3443
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push str._s_is_folder._return.
call fcn.00415490
lea ecx, [esp + 0x24]
jmp 0x42739e
mov ecx, dword [0x487bd4]
test ecx, ecx
je 0x426f54
call fcn.00433680
mov ebx, eax
test ebx, ebx
jne 0x426f5e
mov eax, 2
jmp 0x4273a8
mov ecx, dword [0x487bd4]
call fcn.00433490
mov ecx, eax
call fcn.004212b0
test eax, eax
je 0x426f9b
mov ecx, dword [0x487bd4]
call fcn.00433490
mov ecx, eax
call fcn.004212a0
test eax, eax
jne 0x426f9b
push edi
mov ecx, esi
call fcn.00426180
cmp eax, 1
je 0x4273a6
push 0x800
lea ecx, [esp + 0x534]
push 0
push ecx
call fcn.0044e060
mov eax, dword [esi + 0x14]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push edi
push eax
lea edx, [esp + 0x538]
push edx
call ebp
push 0x800
lea eax, [esp + 0xd34]
push 0
push eax
call fcn.0044e060
mov eax, dword [esi + 0x18]
add esp, 0xc
push edi
push eax
lea ecx, [esp + 0xd38]
push ecx
call ebp
mov eax, dword [0x484064]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ebp, 2
push 0xbf
lea ecx, [esp + 0x18]
mov dword [esp + 0x1d40], ebp
call fcn.00418500
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d40], 3
call fcn.00417f60
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x1d3c], 2
cmp edx, dword [0x484060]
je 0x427061
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427061
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
lea ecx, [esp + 0x530]
push ecx
lea ecx, [esp + 0x30]
call fcn.00417f60
mov eax, dword [esi + 0x2d8]
push 0
lea edx, [esp + 0x2c]
push edx
push 0x3443
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x530]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4272c4
push 0x2a0
lea edx, [esp + 0x294]
push 0
push edx
call fcn.0044e060
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]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427106
test dx, dx
je 0x427102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4270e0
xor eax, eax
jmp 0x42710b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42711a
push edi
push str._s_is_same_file_to_dest.
jmp 0x427395
cmp dword [esi + 0x228], 0
je 0x427191
lea ecx, [esp + 0x4a8]
push ecx
lea edx, [esi + 0x238]
push edx
call fcn.00425b90
add esp, 8
test eax, eax
jge 0x4272c4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x208
lea eax, [esp + 0x3c]
push eax
call fcn.0040d570
lea eax, [esi + 0x258]
push eax
push 0x50
lea ecx, [esp + 0x248]
push ecx
mov dword [esp + 0x248], ebp
call fcn.0040d570
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x2c0]
call fcn.00426d50
push edi
push str._s_is_older_than_dest.
jmp 0x427395
lea ebp, [esi + 0x238]
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4271a0
sub eax, edx
sar eax, 1
je 0x42722c
lea eax, [esp + 0x4a8]
lea edx, [eax + 2]
jmp 0x4271c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4271c0
sub eax, edx
sar eax, 1
je 0x42722c
lea eax, [esp + 0x4a8]
push eax
push ebp
call fcn.00425b90
add esp, 8
test eax, eax
jge 0x4272c4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x208
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040d570
lea eax, [esi + 0x258]
push eax
push 0x50
lea edx, [esp + 0x248]
push edx
mov dword [esp + 0x248], 2
call fcn.0040d570
lea eax, [esp + 0x34]
push eax
jmp 0x42717b
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 [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x4272c4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x208
lea edx, [esp + 0x3c]
push edx
call fcn.0040d570
lea eax, [esi + 0x258]
push eax
push 0x50
lea eax, [esp + 0x248]
push eax
mov dword [esp + 0x248], 3
call fcn.0040d570
lea ecx, [esp + 0x34]
push ecx
jmp 0x42717b
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.004253d0
add esp, 0xc
test eax, eax
jne 0x427304
lea edx, [esp + 0x530]
push edx
push str.Copy_file__s_failed_
call fcn.00415490
add esp, 8
jmp 0x427350
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x427350
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x208
lea eax, [esp + 0x3c]
push eax
call fcn.0040d570
lea ecx, [esi + 0x258]
push ecx
push 0x50
lea edx, [esp + 0x248]
push edx
mov dword [esp + 0x248], ebp
call fcn.0040d570
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x2c0]
call fcn.00426d50
cmp dword [esi + 0x228], 0
jne 0x42736d
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 0x42738f
mov edx, dword [esi + 0x1c]
cmp dword [edx - 8], 0
je 0x42738f
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x530]
push ecx
push ebx
call edx
push edi
push str.Extract__s_done.
call fcn.00415490
lea ecx, [esp + 0x30]
add esp, 8
call fcn.00415e90
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.0044e04c
add esp, 0x1d2c
ret 0x10
mov eax, dword [esp + 8]
test eax, eax
jne 0x431790
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 0x426e00