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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b95c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x10]
push str.Wow64DisableWow64FsRedirection
xor esi, esi
push str.kernel32
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x258], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
cmp eax, esi
je 0x42126e
lea ecx, [ebp - 0x258]
push ecx
call eax
mov dword [ebp - 4], esi
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42128b
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 1
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4212bb
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4212eb
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42131b
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42134b
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 5
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42137b
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x240], eax
push 1
lea ecx, [ebp - 0x250]
push ecx
push ecx
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x24c], esp
mov dword [ebp - 0x24c], edi
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4213c3
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.strSrcFile
mov byte [ebp - 4], 7
test ecx, 0xffff0000
jne 0x4213fc
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
cmp eax, esi
je 0x42140a
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x42140a
push 0xa
push str.strSrcFile
mov ecx, edi
call fcn.00407870
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x238]
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x234]
push esi
call fcn.0043b9d0
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x42156c
mov ecx, 0xa0000001
lea esi, [ebp - 0x22c]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
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 0x4214a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42153d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4224cc
push 1
lea ecx, [ebp - 0x23c]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x24c], esp
mov dword [ebp - 0x24c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42159e
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.strDstFile
mov byte [ebp - 4], 9
test ecx, 0xffff0000
jne 0x4215d7
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x4215e5
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x4215e5
push 0xa
push str.strDstFile
mov ecx, edi
call fcn.00407870
mov edi, dword [ebp - 0x238]
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x234]
push esi
call fcn.0043b9d0
cmp dword [0x5e084c], 0
mov dword [ebp - 0x220], eax
jne 0x42162b
push 0x60
call fcn.0044c8d5
add esp, 4
test eax, eax
je 0x421621
mov esi, eax
call fcn.00445620
jmp 0x421623
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [0x5e084c], eax
mov ebx, dword [ebp - 0x224]
movzx ecx, word [ebx]
xor eax, eax
mov edx, ebx
test cx, cx
je 0x4216a3
lea ecx, [ecx]
cmp cx, 0x5c
jne 0x42164e
test eax, eax
jne 0x421650
mov eax, edx
jmp 0x421650
xor eax, eax
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x421640
test eax, eax
je 0x4216a3
sub eax, ebx
sar eax, 1
mov edi, eax
jns 0x421672
push 0x80070057
call fcn.00407ad0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x421695
push edi
lea ecx, [ebp - 0x224]
call fcn.004077a0
mov ebx, dword [ebp - 0x224]
cmp edi, dword [ebx - 8]
jg 0x421668
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], ax
push 1
push 0x5ad338
lea ecx, [ebp - 0x224]
call fcn.004138d0
cmp dword [ebp - 0x220], 0
jne 0x421801
mov ecx, 0xa0000001
lea esi, [ebp - 0x22c]
call fcn.0041ae20
mov ecx, dword [ebp - 0x238]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
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 0x42173a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4217ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4217d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4224cc
push 1
lea ecx, [ebp - 0x244]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x24c], esp
mov dword [ebp - 0x24c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421833
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.iOverwrite
mov byte [ebp - 4], 0xb
test ecx, 0xffff0000
jne 0x42186c
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x42187a
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x42187a
push 0xa
push str.iOverwrite
mov ecx, edi
call fcn.00407870
mov edi, dword [ebp - 0x238]
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x234]
push esi
call fcn.0043b9d0
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4219d9
mov ecx, 0xa0000001
lea esi, [ebp - 0x22c]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4218e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
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 0x421912
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42195e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4219aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4224cc
mov esi, dword [ebp - 0x244]
push esi
call fcn.0054df0d
add esp, 4
push 1
lea ecx, [ebp - 0x240]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x228], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421a20
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.iSystemBits
mov byte [ebp - 4], 0xd
test ecx, 0xffff0000
jne 0x421a59
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x421a67
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x421a67
push 0xb
push str.iSystemBits
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x238]
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x234]
push eax
call fcn.0043b9d0
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x421bc9
mov ecx, 0xa0000001
lea esi, [ebp - 0x22c]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ad0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
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 0x421b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4224cc
mov ebx, dword [ebp - 0x240]
push ebx
call fcn.0054df0d
add esp, 4
cmp dword [0x5d9fb8], 0
mov edi, eax
je 0x421c2e
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 0x421c24
lea ecx, [ebp - 0x284]
push ecx
call eax
mov ax, word [ebp - 0x284]
cmp ax, 9
je 0x421c1a
cmp ax, 6
jne 0x421c24
mov dword [0x5e0c44], 1
mov dword [0x5d9fb8], 0
test edi, edi
je 0x421c40
cmp edi, 1
jne 0x421c8b
cmp dword [0x5e0c44], 0
jne 0x421c99
mov esi, dword [ebp - 0x250]
push ecx
mov dword [ebp - 0x228], esp
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x22c], esp
mov dword [ebp - 0x220], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421d84
cmp eax, dword [esi]
jne 0x421d84
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x421dc8
cmp edi, 2
jne 0x421c99
cmp dword [0x5e0c44], 0
jne 0x421c40
lea eax, [ebx - 0x10]
mov dword [ebp - 0x220], 1
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421cc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ce3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4224cc
mov edx, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ecx, dword [edi + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x421d9f
call fcn.0043d450
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0054de82
mov ebx, dword [ebp - 0x220]
add esp, 0x10
mov ecx, dword [ebp - 0x22c]
add esi, 0x10
mov dword [ecx], esi
lea esi, [ebp - 0x228]
call fcn.0044a6f0
add esp, 4
mov byte [ebp - 4], 0xf
push eax
push ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x22c], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x421e12
cmp eax, dword [ebx]
jne 0x421e12
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x421e4e
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 0x421e2b
call fcn.0043d450
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.0054de82
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [ebp - 0x254]
call fcn.0044a7b0
add esp, 4
push eax
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 0x10
call fcn.004135f0
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
mov edi, dword [ebp - 0x230]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x421f3a
cmp dword [edi + 0xc], 0
jl 0x421f2a
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x421f2a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x421ec4
cmp eax, dword [esi]
jne 0x421ec4
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x421f00
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x421edd
call fcn.0043d450
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054de82
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421f19
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x230], ebx
mov ebx, dword [ebp - 0x220]
jmp 0x421f3a
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407870
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421fac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x23c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x22c], edi
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x421fec
cmp eax, dword [edi]
jne 0x421fec
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x422028
mov ecx, dword [edi + 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 0x422005
call fcn.0043d450
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054de82
add esp, 0x10
mov edx, dword [ebp - 0x228]
add esi, 0x10
mov dword [edx], esi
lea esi, [ebp - 0x254]
call fcn.0044a990
add esp, 4
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lea esi, [eax - 0x10]
mov dword [ebp - 0x234], edx
cmp esi, edx
je 0x422118
cmp dword [edx + 0xc], 0
jl 0x422108
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x422108
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x422096
cmp eax, dword [esi]
jne 0x422096
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4220d2
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4220af
call fcn.0043d450
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054de82
add esp, 0x10
mov eax, dword [ebp - 0x234]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4220f7
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0x224], ebx
mov ebx, dword [ebp - 0x220]
jmp 0x422118
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00407870
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42213e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x228], esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x42216e
cmp eax, dword [edi]
jne 0x42216e
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4221aa
mov ecx, dword [edi + 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 0x422187
call fcn.0043d450
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054de82
add esp, 0x10
mov edx, dword [ebp - 0x228]
add esi, 0x10
mov dword [edx], esi
call fcn.0044aaa0
mov ecx, dword [ebx]
mov dword [ebp - 0x254], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x228], esp
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x4221ef
cmp eax, dword [ebx]
jne 0x4221ef
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42222b
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 0x422208
call fcn.0043d450
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.0054de82
add esp, 0x10
mov edx, dword [ebp - 0x228]
add esi, 0x10
mov dword [edx], esi
call fcn.0044aaa0
add esp, 4
test eax, eax
je 0x4223e4
cmp dword [ebp - 0x254], 0
je 0x4223e4
cmp dword [ebp - 0x24c], 0
je 0x4223e4
mov esi, dword [ebp - 0x23c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x422283
and eax, 0xfffffffe
jne 0x42227b
mov eax, 0x80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x422342
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.00550f40
mov eax, dword [ebp - 0x224]
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x5ae6f8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x422342
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea ecx, [ebp - 0x21c]
push ecx
push edx
call esi
test eax, eax
jne 0x422309
push 4
push eax
mov eax, dword [ebp - 0x23c]
push eax
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ecx], 1
jmp 0x42233c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x422342
push 2
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
push 0
lea ecx, [ebp - 0x21c]
push ecx
call esi
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x248]
jne 0x4223bf
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x10]
mov dword [ecx], edx
mov ecx, eax
lea esi, [ebp - 0x234]
call fcn.0041ae20
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x230]
mov eax, dword [edi + 0x2c]
push edx
mov edx, dword [ebp - 0x238]
push ecx
push eax
push edx
call fcn.00409220
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4223b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x22c]
jmp 0x4223fa
mov edx, dword [ebp + 8]
mov dword [ecx], 2
mov ecx, dword [ebp - 0x230]
mov eax, dword [edx + 0x30]
mov edx, dword [ebp - 0x238]
push ecx
push eax
push edx
call fcn.00409220
add esp, 0xc
jmp 0x4223fa
mov eax, dword [ebp - 0x248]
mov dword [eax], 2
mov dword [ebp - 0x220], 1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edx, 0xffffffff
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422463
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edx, 0xffffffff
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224cc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x25c], 0
je 0x422500
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 0x422500
mov ecx, dword [ebp - 0x258]
push ecx
call eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret