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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d486
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.004321b0
mov edi, eax
cmp ebx, edi
je 0x431909
cmp dword [ebx + 0x14], 0x10
jb 0x4318e4
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.0042ce80
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x4318fc
mov eax, dword [ebx]
jmp 0x4318fe
mov eax, ebx
push edi
mov ecx, ebx
mov byte [eax], 0
call fcn.0042c6c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x431925
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ce80
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.004321b0
mov edi, eax
cmp esi, edi
je 0x43196e
cmp dword [esi + 0x14], 0x10
jb 0x431949
mov eax, dword [esi + 0x14]
mov ecx, esi
inc eax
push eax
push dword [esi]
call fcn.0042ce80
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x431961
mov eax, dword [esi]
jmp 0x431963
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.0042c6c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x43198a
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ce80
push 0x21c
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.00536540
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00432e40
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
jb 0x4319ba
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x2dc]
call fcn.00432b90
test al, al
jne 0x431a34
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431a14
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431a14
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push str.SetInitDir_Fail
push 1
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x10
xor bl, bl
jmp 0x432051
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.00432c10
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.0042f8f0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x88]
mov esi, dword [edi]
cmp esi, edi
je 0x431ec1
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.0042c2b0
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.0042c2b0
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.0042c2b0
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.0042c2b0
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.0042c2b0
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.0042c2b0
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.0042bc60
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2f0]
cmp eax, 0x10
jb 0x431c00
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.0042ce80
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.0042c2b0
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.0042c2b0
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.0042bc60
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2f0]
cmp eax, 0x10
jb 0x431c94
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.0042ce80
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 0x431cc0
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 0x431d81
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042a060
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 0x431d5a
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431d5a
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
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.004367d0
add esp, 0x1c
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x431d96
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0042ce80
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x431dbd
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0042ce80
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x431de4
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0042ce80
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x431e0b
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0042ce80
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x431e2d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.0042ce80
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x431e66
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.0042ce80
cmp byte [esi + 0xd], 0
jne 0x431ea7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x431e8c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x431ea7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x431e80
jmp 0x431ea7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x431ea5
cmp esi, dword [eax + 8]
jne 0x431ea5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x431e95
mov esi, eax
cmp esi, edi
jne 0x431ab0
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.004322a0
push dword [ebp - 0x88]
call fcn.0053391c
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 0x431fa3
nop dword [eax + eax]
push 8
push ecx
push str.CefCache
mov ecx, esi
call fcn.0042bb60
cmp eax, 0xffffffff
je 0x431f98
cmp dword [esi + 0x14], 0x10
jb 0x431f2e
mov edi, dword [esi]
jmp 0x431f30
mov edi, esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431f7a
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431f7a
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push edi
push str.CopyFileA_Fail__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
mov edi, dword [ebp - 0x1c]
add esp, 0x14
dec ebx
add esi, 0x18
cmp esi, edi
jne 0x431f10
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x431fed
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x431fed
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push ebx
push str.fail_files__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x14
cmp ebx, 3
mov ebx, dword [ebp - 0x20]
setle byte [ebp - 0x2dd]
test ebx, ebx
je 0x43204b
push dword [ebp - 0x2e8]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0042e520
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.0042cd10
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.004322a0
push dword [ebp - 0xc8]
call fcn.0053391c
add esp, 4
mov dword [ebp - method.CBrowseDir.virtual_0], vtable.CBrowseDir.0
lea eax, [ebp - 0x1d4]
push eax
call fcn.0053c731
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.0053342f
mov esp, ebp
pop ebp
ret 0xc