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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49366b
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 0x431ddc
mov dword [ebp - 0x54], 1
jmp 0x431de3
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x431e05
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 0x431f34
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 0x431e45
mov dword [ebp - 0x5c], 1
jmp 0x431e4c
mov dword [ebp - 0x5c], 0
mov cl, byte [ebp - 0x5c]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x431e6e
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 0x431f34
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 0x431eb2
mov dword [ebp - 0x64], 1
jmp 0x431eb9
mov dword [ebp - 0x64], 0
mov cl, byte [ebp - 0x64]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x431edb
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 0x431f34
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0
jne 0x431f1f
mov dword [ebp - 0x6c], 1
jmp 0x431f26
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x431f3b
xor eax, eax
jmp 0x43249c
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 0x431f59
mov dword [ebp - 0x70], 1
jmp 0x431f60
mov dword [ebp - 0x70], 0
mov cl, byte [ebp - 0x70]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x431f82
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 0x432132
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 0x431fc2
mov dword [ebp - 0x78], 1
jmp 0x431fc9
mov dword [ebp - 0x78], 0
mov dl, byte [ebp - 0x78]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x431feb
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 0x432132
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 0x432032
mov dword [ebp - 0x80], 1
jmp 0x432039
mov dword [ebp - 0x80], 0
mov dl, byte [ebp - 0x80]
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x43205e
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 0x432132
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 0x4320af
mov dword [ebp - 0x88], 1
jmp 0x4320b9
mov dword [ebp - 0x88], 0
mov cl, byte [ebp - 0x88]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x4320e1
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.0040db90
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x198]
push eax
call fcn.00447430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.004230d0
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x118]
call fcn.0041e210
lea ecx, [ebp - 0x17c]
call fcn.00423200
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.0041fbc0
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 0x4321ab
mov dword [ebp - 0x90], 1
jmp 0x4321b5
mov dword [ebp - 0x90], 0
mov cl, byte [ebp - 0x90]
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x4321dd
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 0x43230a
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 0x432229
mov dword [ebp - 0x98], 1
jmp 0x432233
mov dword [ebp - 0x98], 0
mov dl, byte [ebp - 0x98]
mov byte [ebp - 0x16], dl
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x43225b
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 0x43230a
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 0x4322ab
mov dword [ebp - 0xa0], 1
jmp 0x4322b5
mov dword [ebp - 0xa0], 0
mov dl, byte [ebp - 0xa0]
mov byte [ebp - 0x17], dl
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x4322dd
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 0x43238c
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 0x432331
mov dword [ebp - 0xa8], 1
jmp 0x43233b
mov dword [ebp - 0xa8], 0
mov cl, byte [ebp - 0xa8]
mov byte [ebp - 0x18], cl
movzx edx, byte [ebp - 0x18]
test edx, edx
je 0x432363
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 0x4323b0
mov dword [ebp - 0xb0], 1
jmp 0x4323ba
mov dword [ebp - 0xb0], 0
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x4323e2
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 0x43241e
mov dword [ebp - 0xb8], 1
jmp 0x432428
mov dword [ebp - 0xb8], 0
mov cl, byte [ebp - 0xb8]
mov byte [ebp - 0x1a], cl
movzx edx, byte [ebp - 0x1a]
test edx, edx
je 0x432450
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.004230d0
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8