Function at 0x4318b0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8e6
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x80]
mov esi, dword [ebp + 0xc]
push ebx
push eax
mov dword [ebp - 0x2e8], ebx
mov dword [ebp - 0x2ec], esi
call fcn.004321e0
mov edi, eax
cmp ebx, edi
je 0x431939
cmp dword [ebx + 0x14], 0x10
jb 0x431914
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.0042ceb0
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x43192c
mov eax, dword [ebx]
jmp 0x43192e
mov eax, ebx
push edi
mov ecx, ebx
mov byte [eax], 0
call fcn.0042c6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x431955
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ceb0
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.004321e0
mov edi, eax
cmp esi, edi
je 0x43199e
cmp dword [esi + 0x14], 0x10
jb 0x431979
mov eax, dword [esi + 0x14]
mov ecx, esi
inc eax
push eax
push dword [esi]
call fcn.0042ceb0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x431991
mov eax, dword [esi]
jmp 0x431993
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.0042c6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x4319ba
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ceb0
push 0x21c
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.005369e0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00432e70
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
jb 0x4319ea
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x2dc]
call fcn.00432bc0
test al, al
jne 0x431a64
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431a44
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431a44
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push str.SetInitDir_Fail
push 1
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x10
xor bl, bl
jmp 0x432081
push 0
lea eax, [ebp - 0x2d8]
push eax
mov eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2dc]
call dword [eax + 8]
push 0x5b1808
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00432c40
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ebx, ebx
movq qword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0042f920
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x88]
mov esi, dword [edi]
cmp esi, edi
je 0x431ef1
nop
push 0xffffffffffffffff
push 0
lea ebx, [esi + 0x10]
mov dword [ebp - 0xa4], 0xf
push ebx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.0042c2e0
push 0xffffffffffffffff
mov byte [ebp - 4], 5
lea eax, [ebx + 0x18]
push 0
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0042c2e0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb8]
push 0
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.0042c2e0
push 0xffffffffffffffff
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa0]
push 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.0042c2e0
push 0xffffffffffffffff
mov byte [ebp - 4], 8
lea eax, [ebp - 0x80]
push 0
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.0042c2e0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x2ec]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x2f0], 0xf
mov dword [ebp - 0x2f4], 0
mov byte [ebp - 0x304], 0
call fcn.0042c2e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x304]
mov ebx, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x68]
push 0
push eax
push dword [ebx + 0x10]
push 0
call fcn.0042bc90
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2f0]
cmp eax, 0x10
jb 0x431c30
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.0042ceb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0xf
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.0042c2e0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x2ec]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x2f0], 0xf
mov dword [ebp - 0x2f4], 0
mov byte [ebp - 0x304], 0
call fcn.0042c2e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 0xc
push eax
push dword [ebx + 0x10]
lea ecx, [ebp - 0x50]
push 0
call fcn.0042bc90
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2f0]
cmp eax, 0x10
jb 0x431cc4
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.0042ceb0
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x431cf0
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push 0
cmovae eax, dword [ebp - 0x68]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
push 0
cmovae ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x431db1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042a0a0
cmp dword [ebp - 0x3c], 0x10
lea ebx, [ebp - 0x50]
lea eax, [ebp - 0x38]
cmovae ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x24], 0x10
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0x2e4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431d8a
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431d8a
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp - 0x2e4]
push str.CopyFileA_Fail__s__s__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x1c
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x431dc6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0042ceb0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x431ded
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0042ceb0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x431e14
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0042ceb0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x431e3b
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ceb0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x431e5d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.0042ceb0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x431e96
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.0042ceb0
cmp byte [esi + 0xd], 0
jne 0x431ed7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x431ebc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x431ed7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x431eb0
jmp 0x431ed7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x431ed5
cmp esi, dword [eax + 8]
jne 0x431ed5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x431ec5
mov esi, eax
cmp esi, edi
jne 0x431ae0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2e4], eax
push edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2e8]
push dword [edi]
lea ecx, [ebp - 0x88]
push eax
call fcn.004322d0
push dword [ebp - 0x88]
call fcn.00533d32
mov edi, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov ecx, edi
mov esi, ebx
sub ecx, ebx
add esp, 4
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp dword [ebp - 0x20], edi
je 0x431fd3
nop dword [eax + eax]
push 8
push ecx
push str.CefCache
mov ecx, esi
call fcn.0042bba0
cmp eax, 0xffffffff
je 0x431fc8
cmp dword [esi + 0x14], 0x10
jb 0x431f5e
mov edi, dword [esi]
jmp 0x431f60
mov edi, esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431faa
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431faa
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push edi
push str.CopyFileA_Fail__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
mov edi, dword [ebp - 0x1c]
add esp, 0x14
dec ebx
add esi, 0x18
cmp esi, edi
jne 0x431f40
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x43201d
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x43201d
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push ebx
push str.fail_files__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x14
cmp ebx, 3
mov ebx, dword [ebp - 0x20]
setle byte [ebp - 0x2dd]
test ebx, ebx
je 0x43207b
push dword [ebp - 0x2e8]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0042e550
mov ecx, dword [ebp - 0x2e4]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.0042cd40
mov bl, byte [ebp - 0x2dd]
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push eax
push dword [eax]
lea eax, [ebp - 0x2e8]
push eax
call fcn.004322d0
push dword [ebp - 0xc8]
call fcn.00533d32
add esp, 4
mov dword [ebp - method.CBrowseDir.virtual_0], vtable.CBrowseDir.0
lea eax, [ebp - 0x1d4]
push eax
call fcn.0053cb53
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 0xc