Function at 0x4819e0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8962
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x350], ecx
mov dword [ebp - 0x34c], 0
call fcn.0049d080
movzx eax, al
test eax, eax
jne 0x481ad8
mov ecx, dword [0x4e7a84]
push ecx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.0043abd0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x481ad8
mov ecx, dword [ebp + 8]
call fcn.0040add0
sub eax, dword [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d040
push 0x4d6ef8
lea ecx, [ebp - 0x30]
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
je 0x481ab6
push 0x4d6f30
lea ecx, [ebp - 0x30]
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
je 0x481ab6
push 0x4d6f48
lea ecx, [ebp - 0x30]
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
jne 0x481ad0
mov byte [ebp - 0x241], 1
lea ecx, [ebp - 0x30]
call fcn.00406fd0
mov al, byte [ebp - 0x241]
jmp 0x482763
lea ecx, [ebp - 0x30]
call fcn.00406fd0
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x290]
call eax
movzx ecx, al
test ecx, ecx
jne 0x481b02
movzx edx, byte [ebp + 0x18]
cmp edx, 1
jne 0x48274f
lea ecx, [ebp - 0x50]
call fcn.00406f20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406f20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x24c]
call eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x350]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x350]
mov edx, dword [eax + 0x250]
call edx
push 0x4d6f60
lea ecx, [ebp - 0x50]
call fcn.00407050
push 0x4d6f70
lea ecx, [ebp - 0x6c]
call fcn.00407050
mov eax, dword [0x504b54]
and eax, 1
jne 0x481ba8
mov ecx, dword [0x504b54]
or ecx, 1
mov dword [0x504b54], ecx
mov byte [ebp - 4], 2
push 0x4d6f80
mov ecx, 0x504b38
call fcn.00406f50
push 0x4cbe70
call fcn.00444bd1
add esp, 4
mov byte [ebp - 4], 1
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x6c]
call fcn.0040add0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00407070
push eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call fcn.00447ebb
add esp, 0xc
test eax, eax
jne 0x481bf7
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
mov ecx, 0x504b38
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
jne 0x481bf7
mov byte [ebp - 0x31], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x504b38
call fcn.00406ff0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x78]
call fcn.004968c0
mov byte [ebp - 4], 3
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
jne 0x4823bf
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4823bf
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4823bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4823bf
push 1
push 3
lea ecx, [ebp - 0x104]
call fcn.00421aa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406f20
mov byte [ebp - 4], 5
lea edx, [ebp - 0x120]
push edx
call fcn.0049caa0
add esp, 4
lea eax, [ebp - 0x104]
test eax, eax
je 0x481caa
lea ecx, [ebp - 0x104]
add ecx, 8
mov dword [ebp - 0x354], ecx
jmp 0x481cb4
mov dword [ebp - 0x354], 0
lea edx, [ebp - 0x120]
push edx
push 0x4d6f84
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
call fcn.00428c30
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
push eax
call fcn.00428c30
add esp, 8
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
call fcn.00407070
push eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x242], al
lea ecx, [ebp - 0x260]
call fcn.00406fd0
movzx eax, byte [ebp - 0x242]
test eax, eax
je 0x481e0e
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x34c]
or edx, 1
mov dword [ebp - 0x34c], edx
mov ecx, dword [ebp - 0x35c]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x481d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x481d92
mov dword [ebp - 0x360], 1
jmp 0x481d9c
mov dword [ebp - 0x360], 0
mov al, byte [ebp - 0x360]
mov byte [ebp - 0x261], al
mov ecx, dword [ebp - 0x34c]
and ecx, 1
je 0x481dc5
and dword [ebp - 0x34c], 0xfffffffe
lea ecx, [ebp - 0x280]
call fcn.00406fd0
movzx edx, byte [ebp - 0x261]
test edx, edx
je 0x481e09
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x364], eax
push 4
push 0
mov ecx, dword [ebp - 0x364]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x29c]
call fcn.00406fd0
jmp 0x4823a1
mov ecx, dword [0x4e7a84]
push ecx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.0043abd0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jl 0x4822e6
mov ecx, dword [ebp + 8]
call fcn.0040add0
sub eax, dword [ebp - 0x124]
push eax
mov edx, dword [ebp - 0x124]
add edx, 1
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d040
mov byte [ebp - 4], 6
push 0x4d6f88
lea ecx, [ebp - 0x140]
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
jne 0x482033
push 0x4d6fb0
call fcn.0049cd80
add esp, 4
test eax, eax
jne 0x481f64
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x34c]
or edx, 2
mov dword [ebp - 0x34c], edx
mov ecx, dword [ebp - 0x368]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x481ee8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x481ee8
mov dword [ebp - 0x36c], 1
jmp 0x481ef2
mov dword [ebp - 0x36c], 0
mov al, byte [ebp - 0x36c]
mov byte [ebp - 0x29d], al
mov ecx, dword [ebp - 0x34c]
and ecx, 2
je 0x481f1b
and dword [ebp - 0x34c], 0xfffffffd
lea ecx, [ebp - 0x2bc]
call fcn.00406fd0
movzx edx, byte [ebp - 0x29d]
test edx, edx
je 0x481f5f
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x370], eax
push 4
push 0
mov ecx, dword [ebp - 0x370]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x2d8]
call fcn.00406fd0
jmp 0x48202e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2dc], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x374], eax
lea ecx, [ebp - 0x164]
call fcn.00491950
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x164]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x2dd], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.004912d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.00406fd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004213c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x2dd]
jmp 0x482763
jmp 0x4822d2
push 0x4d6fd8
lea ecx, [ebp - 0x140]
call fcn.00407070
push eax
call fcn.004457ed
add esp, 8
test eax, eax
jne 0x482208
push 0x4d7000
call fcn.0049cd80
add esp, 4
test eax, eax
jne 0x482139
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x34c]
or edx, 4
mov dword [ebp - 0x34c], edx
mov ecx, dword [ebp - 0x37c]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4820bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4820bd
mov dword [ebp - 0x380], 1
jmp 0x4820c7
mov dword [ebp - 0x380], 0
mov al, byte [ebp - 0x380]
mov byte [ebp - 0x2de], al
mov ecx, dword [ebp - 0x34c]
and ecx, 4
je 0x4820f0
and dword [ebp - 0x34c], 0xfffffffb
lea ecx, [ebp - 0x2fc]
call fcn.00406fd0
movzx edx, byte [ebp - 0x2de]
test edx, edx
je 0x482134
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x104]
call fcn.00421bd0
mov dword [ebp - 0x384], eax
push 4
push 0
mov ecx, dword [ebp - 0x384]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x318]
call fcn.00406fd0
jmp 0x482203
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x388], eax
lea ecx, [ebp - 0x188]
call fcn.00491950
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x188]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x31d], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x188]
call fcn.004912d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.00406fd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004213c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x31d]
jmp 0x482763
jmp 0x4822d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x324], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x390], eax
lea ecx, [ebp - 0x1ac]
call fcn.00491950
mov dword [ebp - 0x394], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1ac]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x325], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ac]
call fcn.004912d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.00406fd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004213c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x325]
jmp 0x482763
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.00406fd0
jmp 0x4823a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x32c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x398], eax
lea ecx, [ebp - 0x1d0]
call fcn.00491950
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1d0]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x32d], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d0]
call fcn.004912d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004213c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x32d]
jmp 0x482763
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00406fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004213c0
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x350]
call fcn.004817f0
movzx edx, byte [ebp - 0x31]
test edx, edx
jne 0x482401
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.00436720
movzx eax, al
test eax, eax
je 0x482401
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.004367a0
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.00436720
movzx ecx, al
test ecx, ecx
jne 0x482624
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48252e
push 3
push 0
push 0xc0000000
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.0042bce0
movzx edx, al
test edx, edx
jne 0x482529
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push 0x4d7028
push 3
mov eax, dword [0x50393c]
push eax
call fcn.00498ad0
add esp, 0x10
mov ecx, dword [ebp - 0x1d4]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x334], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x3a0], eax
lea ecx, [ebp - 0x1f8]
call fcn.00491830
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1f8]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x335], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f8]
call fcn.00491270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x335]
jmp 0x482763
jmp 0x482624
push 2
push 0
push 0xc0000000
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.0042bce0
movzx ecx, al
test ecx, ecx
jne 0x482624
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push str.Open_File__s_Failed
push 3
mov edx, dword [0x50393c]
push edx
call fcn.00498ad0
add esp, 0x10
mov eax, dword [ebp - 0x1fc]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x33c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x220]
call fcn.00491830
mov dword [ebp - 0x3ac], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x220]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov byte [ebp - 0x33d], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00491270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x33d]
jmp 0x482763
push 0
push 0
push 2
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.0043a380
push 0
lea ecx, [ebp - 0x78]
call fcn.00495a20
push eax
lea ecx, [ebp - 0x78]
call fcn.004959f0
push eax
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.0042bd40
movzx ecx, al
test ecx, ecx
jne 0x48270f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x344], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
mov dword [ebp - 0x3b0], eax
lea ecx, [ebp - 0x240]
call fcn.004918c0
mov dword [ebp - 0x3b4], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x240]
push eax
push 3
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x2ec]
call eax
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.004367a0
mov byte [ebp - 0x345], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.004912a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov al, byte [ebp - 0x345]
jmp 0x482763
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
jne 0x482728
mov ecx, dword [ebp - 0x350]
add ecx, 0x448
call fcn.004367a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004968a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406fd0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 0x14