Function at 0x434550
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49784b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x43458c
mov dword [ebp - 0x54], 1
jmp 0x434593
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4345b5
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x4346e4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x4345f5
mov dword [ebp - 0x5c], 1
jmp 0x4345fc
mov dword [ebp - 0x5c], 0
mov cl, byte [ebp - 0x5c]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x43461e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
movzx eax, word [edx]
test eax, eax
je 0x4346e4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x434662
mov dword [ebp - 0x64], 1
jmp 0x434669
mov dword [ebp - 0x64], 0
mov cl, byte [ebp - 0x64]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x43468b
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4346e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0
jne 0x4346cf
mov dword [ebp - 0x6c], 1
jmp 0x4346d6
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x4346eb
xor eax, eax
jmp 0x434c4c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x434709
mov dword [ebp - 0x70], 1
jmp 0x434710
mov dword [ebp - 0x70], 0
mov cl, byte [ebp - 0x70]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x434732
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xf0], 0
je 0x4348e2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x14], 8
jb 0x434772
mov dword [ebp - 0x78], 1
jmp 0x434779
mov dword [ebp - 0x78], 0
mov dl, byte [ebp - 0x78]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x43479b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4348e2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 8
jb 0x4347e2
mov dword [ebp - 0x80], 1
jmp 0x4347e9
mov dword [ebp - 0x80], 0
mov dl, byte [ebp - 0x80]
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x43480e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4348e2
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x43485f
mov dword [ebp - 0x88], 1
jmp 0x434869
mov dword [ebp - 0x88], 0
mov cl, byte [ebp - 0x88]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x434891
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
push edx
lea ecx, [ebp - 0x198]
call fcn.0040dd70
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x198]
push eax
call fcn.00434250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00423720
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x118]
call fcn.0041e1b0
lea ecx, [ebp - 0x17c]
call fcn.00423850
mov dword [ebp - 4], 1
push 0
push 0
push 0
lea edx, [ebp - 0x17c]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401840
call fcn.00420210
add esp, 0x28
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 8
jb 0x43495b
mov dword [ebp - 0x90], 1
jmp 0x434965
mov dword [ebp - 0x90], 0
mov cl, byte [ebp - 0x90]
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x43498d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0
je 0x434aba
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], 8
jb 0x4349d9
mov dword [ebp - 0x98], 1
jmp 0x4349e3
mov dword [ebp - 0x98], 0
mov dl, byte [ebp - 0x98]
mov byte [ebp - 0x16], dl
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x434a0b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
movzx ecx, word [eax]
test ecx, ecx
je 0x434aba
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 8
jb 0x434a5b
mov dword [ebp - 0xa0], 1
jmp 0x434a65
mov dword [ebp - 0xa0], 0
mov dl, byte [ebp - 0xa0]
mov byte [ebp - 0x17], dl
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x434a8d
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434b3c
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x434ae1
mov dword [ebp - 0xa8], 1
jmp 0x434aeb
mov dword [ebp - 0xa8], 0
mov cl, byte [ebp - 0xa8]
mov byte [ebp - 0x18], cl
movzx edx, byte [ebp - 0x18]
test edx, edx
je 0x434b13
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
push 0
mov edx, dword [ebp - 0x148]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x14], 8
jb 0x434b60
mov dword [ebp - 0xb0], 1
jmp 0x434b6a
mov dword [ebp - 0xb0], 0
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x434b92
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 8
jb 0x434bce
mov dword [ebp - 0xb8], 1
jmp 0x434bd8
mov dword [ebp - 0xb8], 0
mov cl, byte [ebp - 0xb8]
mov byte [ebp - 0x1a], cl
movzx edx, byte [ebp - 0x1a]
test edx, edx
je 0x434c00
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x160], ecx
push 0
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.00423720
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8