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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553292
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.004277e0
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 0
push esi
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004277e0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00439f50
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x43a100
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x43a0e5
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00427a30
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004278c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x43a122
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00427a30
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0xb0]
call fcn.00439f50
mov esi, eax
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x43a169
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x43a14e
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00427a30
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.004278c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x43a18b
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00427a30
push 0x21c
lea eax, [ebp - 0x308]
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea ecx, [ebp - 0x308]
call fcn.0042a7a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x308]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.0042a4e0
test al, al
jne 0x43a255
push str.SetInitDir_Fail
push 1
sub esp, 0x18
mov ecx, esp
push 3
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5a4534
mov byte [ecx], al
call fcn.00427720
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5ba004]
cmp eax, dword [ecx + 4]
jle 0x43a241
push 0x5ba004
call fcn.0052aae3
add esp, 4
cmp dword [0x5ba004], 0xffffffff
jne 0x43a241
call fcn.0042edc0
push 0x5546b0
call fcn.0052ae5a
add esp, 4
push 0x5ba004
call fcn.0052aaa4
add esp, 4
push 0x5ba008
call fcn.0042eea0
add esp, 0x24
xor bl, bl
jmp 0x43a906
push 0
lea eax, [ebp - 0x304]
push eax
mov eax, dword [ebp - 0x308]
lea ecx, [ebp - 0x308]
call dword [eax + 8]
push 0x5a448c
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x308]
call fcn.0042a560
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
movq qword [ebp - 0x20], xmm0
xor edi, edi
mov dword [ebp - 0x310], eax
xor ebx, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x308]
call fcn.00436ca0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0xb8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x43a725
mov ebx, dword fs:[0x2c]
nop dword [eax]
push 0xffffffffffffffff
lea edi, [eax + 0x10]
mov dword [ebp - 0xd4], 0xf
push 0
push edi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 9
lea eax, [edi + 0x18]
push 0
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xe8]
push 0
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
call fcn.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xd0]
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.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb0]
push 0
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
call fcn.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x314], 0xf
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x328], 0
call fcn.004277e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x98]
push 0
call fcn.00427e40
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x314]
cmp eax, 0x10
jb 0x43a446
inc eax
lea ecx, [ebp - 0x328]
push eax
push dword [ebp - 0x328]
call fcn.00427a30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0xf
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.004277e0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x314], 0xf
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x328], 0
call fcn.004277e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x10
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x80]
push 0
call fcn.00427e40
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x314]
cmp eax, 0x10
jb 0x43a4d8
inc eax
lea ecx, [ebp - 0x328]
push eax
push dword [ebp - 0x328]
call fcn.00427a30
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43a516
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
push 0
cmovae ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x43a5fd
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.00427110
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x6c], 0x10
push eax
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 0x10
push eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push str.CopyFileA_Fail__s__s__d
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43a59b
mov eax, dword [ecx]
jmp 0x43a59d
mov eax, ecx
push 3
push 0x5a4534
mov byte [eax], 0
call fcn.00427720
mov ecx, dword [ebx]
mov eax, dword [0x5ba004]
cmp eax, dword [ecx + 4]
jle 0x43a5f0
push 0x5ba004
call fcn.0052aae3
add esp, 4
cmp dword [0x5ba004], 0xffffffff
jne 0x43a5f0
call fcn.0042edc0
push 0x5546b0
call fcn.0052ae5a
add esp, 4
push 0x5ba004
call fcn.0052aaa4
add esp, 4
push 0x5ba008
call fcn.0042eea0
add esp, 0x30
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x43a612
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00427a30
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x43a642
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00427a30
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp eax, 0x10
jb 0x43a672
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00427a30
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x43a6a2
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00427a30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x43a6c4
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00427a30
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x43a6fd
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00427a30
lea ecx, [ebp - 0x14]
call fcn.0042b010
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x43a2e0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x310], eax
push esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push dword [esi]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0042ab60
push dword [ebp - 0xb8]
call fcn.0052a98d
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, edi
mov esi, edi
imul ecx
add esp, 4
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp dword [ebp - 0x20], ebx
je 0x43a83b
nop dword [eax]
push 8
push ecx
push str.CefCache
mov ecx, esi
call fcn.00427630
cmp eax, 0xffffffff
je 0x43a830
cmp dword [esi + 0x14], 0x10
jb 0x43a792
mov eax, dword [esi]
jmp 0x43a794
mov eax, esi
push eax
push str.CopyFileA_Fail__s
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43a7c7
mov eax, dword [ecx]
jmp 0x43a7c9
mov eax, ecx
push 3
push 0x5a4534
mov byte [eax], 0
call fcn.00427720
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5ba004]
cmp eax, dword [ecx + 4]
jle 0x43a822
push 0x5ba004
call fcn.0052aae3
add esp, 4
cmp dword [0x5ba004], 0xffffffff
jne 0x43a822
call fcn.0042edc0
push 0x5546b0
call fcn.0052ae5a
add esp, 4
push 0x5ba004
call fcn.0052aaa4
add esp, 4
push 0x5ba008
call fcn.0042eea0
add esp, 0x28
dec edi
add esi, 0x18
cmp esi, ebx
jne 0x43a770
push edi
push str.fail_files__d
push 0
sub esp, 0x18
mov ecx, esp
push 3
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5a4534
mov byte [ecx], 0
call fcn.00427720
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5ba004]
cmp eax, dword [ecx + 4]
jle 0x43a8af
push 0x5ba004
call fcn.0052aae3
add esp, 4
cmp dword [0x5ba004], 0xffffffff
jne 0x43a8af
call fcn.0042edc0
push 0x5546b0
call fcn.0052ae5a
add esp, 4
push 0x5ba004
call fcn.0052aaa4
add esp, 4
push 0x5ba008
call fcn.0042eea0
mov esi, dword [ebp - 0x20]
add esp, 0x28
cmp edi, 5
setle byte [ebp - 0x309]
test esi, esi
je 0x43a900
push dword [ebp - 0x310]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.00428190
mov ecx, dword [ebp - 0x310]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00427930
mov bl, byte [ebp - 0x309]
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
push eax
push dword [eax]
lea eax, [ebp - 0x310]
push eax
call fcn.0042ab60
push dword [ebp - 0xf4]
call fcn.0052a98d
add esp, 4
mov dword [ebp - method.CBrowseDir.virtual_0], vtable.CBrowseDir.0
lea eax, [ebp - 0x200]
push eax
call fcn.00532d04
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x43a95d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00427a30
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x43a984
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.00427a30
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 - 0x10]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret