Function at 0x414210
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2a4]
mov eax, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2a8]
push str.Wow64DisableWow64FsRedirection
mov edi, edx
xor ebx, ebx
push str.kernel32
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x54], eax
cmp eax, ebx
je 0x41429a
lea edx, [esp + 0x58]
push edx
call eax
mov dword [esp + 0x29c], ebx
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4142bb
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x29c], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4142ed
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x29c], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41431f
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x29c], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414351
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x29c], 4
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414383
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x29c], 5
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4143b5
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x29c], 6
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4143e7
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 1
lea ecx, [esp + 0x4c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.strSrvFile
mov byte [esp + 0x2ac], 7
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x20], eax
test eax, eax
jne 0x41459e
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x29c], 8
mov ecx, dword [esp + 0x40]
push eax
call fcn.00407570
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x29c], 6
mov dword [ecx], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4144a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41451d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41456d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415191
push 1
lea ecx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.strDstDir
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
cmp dword [0x4a95e8], 0
mov dword [esp + 0x20], eax
jne 0x4145f4
push 0x60
call fcn.00443d07
add esp, 4
test eax, eax
je 0x4145e2
mov esi, eax
call fcn.00437cc0
jmp 0x4145e4
xor eax, eax
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x2a4]
mov dword [0x4a95e8], eax
mov eax, 0x5c
lea ebx, [esp + 0x1c]
call fcn.004117a0
push 1
push 0x49151c
mov ecx, ebx
call fcn.0040e2c0
cmp dword [esp + 0x20], 0
jne 0x414632
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x29c], 9
jmp 0x414441
push 1
lea ecx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.iOverwrite
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x20], eax
test eax, eax
jne 0x414675
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x29c], 0xa
jmp 0x414441
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00461856
add esp, 4
push 1
lea edx, [esp + 0x38]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.iSystemBits
mov dword [esp + 0x60], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4146ef
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x2a0], 0xb
call fcn.00407570
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414467
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00461856
add esp, 4
push 1
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.iKeepDir
mov dword [esp + 0x48], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x20], eax
test eax, eax
jne 0x414769
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x2a0], 0xc
call fcn.00407570
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414467
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00461856
add esp, 4
test eax, eax
je 0x414a4c
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414798
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x29c], 0xd
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4147ca
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
lea ecx, [esp + 0x50]
push ecx
push ecx
mov byte [esp + 0x2a8], 0xe
mov ecx, esp
mov dword [esp + 0x50], esp
push str.strSrvFile
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4148d1
mov edi, 0xa0000001
lea esi, [esp + 0x44]
call fcn.00414000
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x2a0], 0xf
call fcn.00407570
mov byte [esp + 0x29c], 0xe
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414856
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x29c], 0xd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414499
push 9
push str._ProjRes_
lea ecx, [esp + 0x20]
call fcn.00401da0
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
test ebp, ebp
je 0x414a00
cmp dword [esi - 0xc], 0
jl 0x414a00
push ebp
push esi
call fcn.00462453
add esp, 8
test eax, eax
je 0x414a00
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x414a00
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x54]
call fcn.0040f240
mov bl, 0x10
mov byte [esp + 0x29c], bl
mov edi, dword [esp + 0x44]
push ecx
mov dword [esp + 0x24], esp
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x24]
call fcn.0043d450
add esp, 4
mov byte [esp + 0x29c], 0x11
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0040e2c0
mov byte [esp + 0x29c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41499c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4a95e8], 0
jne 0x4149c3
push 0x60
call fcn.00443d07
add esp, 4
test eax, eax
je 0x4149bc
mov esi, eax
call fcn.00437cc0
jmp 0x4149be
xor eax, eax
mov dword [0x4a95e8], eax
mov eax, 0x5c
lea ebx, [esp + 0x1c]
call fcn.004117a0
push 1
push 0x49151c
mov ecx, ebx
call fcn.0040e2c0
mov byte [esp + 0x29c], 0xe
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a00
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
mov byte [esp + 0x29c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4a657c], 0
je 0x414a9c
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414a92
lea ecx, [esp + 0x60]
push ecx
call eax
mov ax, word [esp + 0x60]
cmp ax, 9
je 0x414a88
cmp ax, 6
jne 0x414a92
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x414ab2
cmp eax, 1
jne 0x414ae9
cmp dword [0x4a99d4], 0
jne 0x414af7
mov ebp, dword [esp + 0x48]
push ecx
mov dword [esp + 0x3c], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov edi, esp
mov dword [esp + 0x50], ebp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x414b0c
cmp eax, dword [ebp]
jne 0x414b0c
mov esi, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414b48
cmp eax, 2
jne 0x414af7
cmp dword [0x4a99d4], 0
jne 0x414ab2
mov dword [esp + 0x20], 1
mov byte [esp + 0x29c], 6
jmp 0x414485
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x414b25
call fcn.004303e0
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [esp + 0x1c]
call fcn.0043d140
add esp, 4
mov byte [esp + 0x29c], 0x12
push eax
push ecx
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x28], esp
mov edi, esp
call eax
cmp dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
jl 0x414b8e
cmp eax, dword [ebp]
jne 0x414b8e
mov esi, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x414bca
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x414ba7
call fcn.004303e0
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [esp + 0x4c]
call fcn.0043d220
add esp, 4
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x2a8], 0x13
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x29c], 0x14
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x414c50
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x414c42
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414c42
push eax
call fcn.00401fe0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x414c39
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x24], ebx
jmp 0x414c50
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401da0
mov byte [esp + 0x29c], 0x13
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0x12
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414cc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x29c], 0x15
mov ecx, dword [eax]
mov edi, dword [esp + 0x30]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x414d42
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414d30
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414d30
push eax
call fcn.00401fe0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414d27
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x30], edi
jmp 0x414d42
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00401da0
mov edi, dword [esp + 0x30]
mov byte [esp + 0x29c], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea ebx, [edi - 0x10]
mov dword [esp + 0x3c], esp
mov dword [esp + 0x3c], esp
mov dword [esp + 0x48], ebx
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x414d9e
cmp eax, dword [ebx]
jne 0x414d9e
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414dda
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x414db7
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
mov edx, dword [esp + 0x3c]
add esi, 0x10
mov dword [edx], esi
call fcn.0043d580
add esp, 4
test eax, eax
je 0x415074
cmp dword [esp + 0x50], 0
je 0x415074
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x414e1b
and eax, 0xfffffffe
jne 0x414e13
mov eax, 0x80
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x414edd
push 0x206
push eax
lea ecx, [esp + 0x8e]
push ecx
mov word [esp + 0x90], ax
call fcn.00464a00
mov eax, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x84]
push edx
push esi
push 0x4914c8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x414edd
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea ecx, [esp + 0x88]
push ecx
push edi
call ebp
test eax, eax
jne 0x414ea6
lea edx, [esp + 0x84]
push edx
call ebx
push 4
push esi
push edi
call ebp
mov esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], esi
mov dword [eax], 1
jmp 0x414edd
lea ecx, [esp + 0x84]
push ecx
call ebx
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x414edd
push 2
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
push esi
lea eax, [esp + 0x8c]
push eax
call ebp
mov esi, eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x414f4f
mov ebp, dword [esp + 0x2a4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov edi, eax
lea esi, [esp + 0x18]
mov dword [edx], ecx
call fcn.00414000
mov byte [esp + 0x29c], 0x16
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00403800
mov byte [esp + 0x2ac], 7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x414f76
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2a4]
mov dword [ecx], 2
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x40]
push ecx
push eax
push edx
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x29c], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414fc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414fee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 3
mov eax, dword [esp + 0x44]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41503b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415063
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0
mov eax, dword [esp + 0x4c]
jmp 0x41457c
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x29c], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [ecx], 2
mov dword [esp + 0x20], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4150ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 3
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41511f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x29c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415147
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41516f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415191
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x54], 0
je 0x4151c5
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4151c5
mov ecx, dword [esp + 0x58]
push ecx
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00461706
add esp, 0x28c
ret