Function at 0x418e00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558c19
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c8]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 1
push 0x5861d8
lea ecx, [ebp - 0x260]
call fcn.00409320
lea ecx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.004162b0
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x260]
call fcn.004086d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x284]
call fcn.004011f0
push ecx
mov ecx, esp
mov dword [ebp - 0x288], esp
lea edx, [ebp - 0x260]
push edx
call fcn.0040a730
mov dword [ebp - 0x2d4], eax
call fcn.00408fe0
add esp, 4
mov byte [ebp - 0x2d5], al
mov al, byte [ebp - 0x2d5]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x418f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x260]
push edx
push 0x5861dc
push 0x5b6888
call fcn.00406200
add esp, 0x10
mov byte [ebp - 0x289], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x289]
jmp 0x4194ec
push ecx
mov ecx, esp
mov dword [ebp - 0x290], esp
lea eax, [ebp + 8]
push eax
call fcn.0040a730
mov dword [ebp - 0x2dc], eax
call fcn.00408f60
add esp, 4
mov byte [ebp - 0x2dd], al
movzx ecx, byte [ebp - 0x2dd]
test ecx, ecx
jne 0x418fb9
mov edx, dword [ebp + 8]
push edx
push 0x586200
push 0x5b6888
call fcn.00406200
add esp, 0xc
mov byte [ebp - 0x291], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x291]
jmp 0x4194ec
lea ecx, [ebp - 0x25c]
call fcn.00414320
mov byte [ebp - 4], 3
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00414380
test eax, eax
jne 0x41903e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x586220
push 0x5b6888
call fcn.00406200
add esp, 0x10
mov byte [ebp - 0x292], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00414350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x292]
jmp 0x4194ec
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.00417ec0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00406d70
movzx ecx, al
test ecx, ecx
jne 0x4190ad
lea edx, [ebp - 0x298]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.004162f0
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2c4]
or eax, 1
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2e4]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004199b0
add esp, 8
movzx eax, al
test eax, eax
je 0x4190ad
mov dword [ebp - 0x2e8], 1
jmp 0x4190b7
mov dword [ebp - 0x2e8], 0
mov cl, byte [ebp - 0x2e8]
mov byte [ebp - 0x293], cl
mov edx, dword [ebp - 0x2c4]
and edx, 1
je 0x4190e0
and dword [ebp - 0x2c4], 0xfffffffe
lea ecx, [ebp - 0x298]
call fcn.004011f0
movzx eax, byte [ebp - 0x293]
test eax, eax
je 0x4194a6
call fcn.004093e0
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x264]
call fcn.00401310
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
call fcn.00401310
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.004162f0
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.004162b0
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x2c8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2f0]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax]
push ecx
push 0x58624c
lea edx, [ebp - 0x264]
push edx
call fcn.00406200
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2a4]
call fcn.004011f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a0]
call fcn.004011f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29c]
call fcn.004011f0
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.00417ec0
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2ac]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.004162b0
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x310], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x2c8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x308]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x318]
mov eax, dword [edx]
push eax
push 0x586260
lea ecx, [ebp - 0x270]
push ecx
call fcn.00406200
add esp, 0x14
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
call fcn.004011f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ac]
call fcn.004011f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a8]
call fcn.004011f0
push ecx
mov ecx, esp
mov dword [ebp - 0x2b4], esp
lea edx, [ebp - 0x270]
push edx
call fcn.0040a730
mov dword [ebp - 0x31c], eax
call fcn.00408f60
add esp, 4
mov byte [ebp - 0x31d], al
movzx eax, byte [ebp - 0x31d]
test eax, eax
je 0x4193af
lea ecx, [ebp - 0x270]
call fcn.00408720
push eax
call fcn.00418bf0
add esp, 4
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x4193af
mov ecx, dword [ebp - 0x270]
push ecx
push 0x586274
push 0x5b6888
call fcn.00406200
add esp, 0xc
mov byte [ebp - 0x2b5], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
call fcn.004011f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00414350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x2b5]
jmp 0x4194ec
lea ecx, [ebp - 0x270]
call fcn.00408720
push eax
lea ecx, [ebp - 0x264]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x419462
mov edx, dword [ebp - 0x270]
push edx
push 0x58628c
push 0x5b6888
call fcn.00406200
add esp, 0xc
mov byte [ebp - 0x2b6], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
call fcn.004011f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00414350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x2b6]
jmp 0x4194ec
push ecx
mov eax, esp
mov dword [ebp - 0x2bc], esp
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.00417ec0
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x2c8]
call fcn.004022b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
call fcn.004011f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.004011f0
mov byte [ebp - 0x2bd], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00414350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0x2bd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret 4