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

Disassembly:
push 0xffffffffffffffff
push 0x485930
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x29c]
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2a0]
push str.Wow64DisableWow64FsRedirection
mov edi, edx
xor ebx, ebx
push str.kernel32
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x4c], eax
cmp eax, ebx
je 0x4187ba
lea edx, [esp + 0x50]
push edx
call eax
mov dword [esp + 0x294], ebx
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4187db
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 + 0x38], eax
mov byte [esp + 0x294], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41880d
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
mov byte [esp + 0x294], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41883f
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 + 0x20], eax
mov byte [esp + 0x294], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x418871
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 + 0x294], 4
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4188a3
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
mov byte [esp + 0x294], 5
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4188d5
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
push 1
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.strSrcFile
mov byte [esp + 0x2a4], 6
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x418a5a
mov edi, 0xa0000001
lea esi, [esp + 0x14]
call fcn.00414000
mov byte [esp + 0x294], 7
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00407570
mov byte [esp + 0x294], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x294], 5
mov eax, dword [esp + 0x2c]
mov dword [ecx], 0
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 4
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 0x4189bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 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 0x4189e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 0
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 0x419385
jmp 0x41937b
push 1
lea ecx, [esp + 0x34]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.strDstFile
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
cmp dword [0x4a95e8], 0
mov dword [esp + 0x1c], eax
jne 0x418ab0
push 0x60
call fcn.00443d07
add esp, 4
test eax, eax
je 0x418a9e
mov esi, eax
call fcn.00437cc0
jmp 0x418aa0
xor eax, eax
mov esi, dword [esp + 0x29c]
mov edi, dword [esp + 0x3c]
mov dword [0x4a95e8], eax
mov eax, 0x5c
lea ebx, [esp + 0x18]
call fcn.004117a0
push 1
push 0x49151c
mov ecx, ebx
call fcn.0040e2c0
cmp dword [esp + 0x1c], 0
jne 0x418aee
mov edi, 0xa0000001
lea esi, [esp + 0x14]
call fcn.00414000
mov byte [esp + 0x294], 8
jmp 0x41892f
push 1
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.iOverwrite
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x418b31
mov edi, 0xa0000001
lea esi, [esp + 0x14]
call fcn.00414000
mov byte [esp + 0x294], 9
jmp 0x41892f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00461856
add esp, 4
push 1
lea edx, [esp + 0x30]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.iSystemBits
mov dword [esp + 0x50], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x418bab
mov edi, 0xa0000001
lea esi, [esp + 0x14]
call fcn.00414000
mov ecx, dword [esp + 0x3c]
push eax
mov byte [esp + 0x298], 0xa
call fcn.00407570
mov byte [esp + 0x294], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x418955
mov edi, dword [esp + 0x2c]
push edi
call fcn.00461856
add esp, 4
cmp dword [0x4a657c], 0
mov esi, eax
je 0x418c0a
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 0x418c00
lea ecx, [esp + 0x58]
push ecx
call eax
mov ax, word [esp + 0x58]
cmp ax, 9
je 0x418bf6
cmp ax, 6
jne 0x418c00
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
test esi, esi
je 0x418c1c
cmp esi, 1
jne 0x418c52
cmp dword [0x4a99d4], 0
jne 0x418c60
mov esi, dword [esp + 0x38]
push ecx
mov dword [esp + 0x38], esp
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov ebx, esp
mov dword [esp + 0x18], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x418c78
cmp eax, dword [esi]
jne 0x418c78
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x418cba
cmp esi, 2
jne 0x418c60
cmp dword [0x4a99d4], 0
jne 0x418c1c
mov dword [esp + 0x1c], 1
mov byte [esp + 0x294], 5
lea eax, [edi - 0x10]
jmp 0x41897a
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 0x418c93
call fcn.004303e0
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.00461715
mov edi, dword [esp + 0x28]
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
lea esi, [esp + 0x38]
call fcn.0043d140
add esp, 4
push eax
mov byte [esp + 0x298], 0xb
push ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x4c], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x418cfe
cmp eax, dword [edi]
jne 0x418cfe
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x418d3a
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 0x418d17
call fcn.004303e0
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.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebp], esi
lea esi, [esp + 0x50]
call fcn.0043d220
add esp, 4
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2a0], 0xc
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x294], 0xd
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x418dc2
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x418db4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418db4
push eax
call fcn.00401fe0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x418dab
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x418dc2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401da0
mov byte [esp + 0x294], 0xc
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 0x418dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 0xb
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 0x418e12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 6
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 0x418e3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x48], esp
mov ebx, esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x418e6d
cmp eax, dword [ebp]
jne 0x418e6d
mov esi, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x418ea9
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 0x418e86
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 [ebx], esi
lea esi, [esp + 0x4c]
call fcn.0043d450
add esp, 4
mov byte [esp + 0x294], 0xe
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x418f1f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x418f11
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418f11
push eax
call fcn.00401fe0
mov dword [esp + 0x38], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x418f04
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x418f1f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401da0
mov byte [esp + 0x294], 6
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], esp
mov ebx, esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x418f73
cmp eax, dword [ebp]
jne 0x418f73
mov esi, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x418faf
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 0x418f8c
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 [ebx], esi
call fcn.0043d580
mov ecx, dword [edi]
mov edx, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], esp
mov ebx, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x418fe6
cmp eax, dword [edi]
jne 0x418fe6
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x419022
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 0x418fff
call fcn.004303e0
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.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
call fcn.0043d580
add esp, 4
test eax, eax
je 0x41928c
cmp dword [esp + 0x34], 0
je 0x41928c
cmp dword [esp + 0x40], 0
je 0x41928c
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x41906e
and eax, 0xfffffffe
jne 0x419066
mov eax, 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x419124
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x86]
push eax
mov word [esp + 0x88], dx
call fcn.00464a00
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
push esi
push 0x4914c8
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x419124
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea eax, [esp + 0x80]
push eax
push ebx
call edi
test eax, eax
jne 0x4190ec
push 4
push eax
push ebx
call edi
mov ecx, dword [esp + 0x54]
mov esi, eax
mov dword [esp + 0x1c], esi
mov dword [ecx], 1
jmp 0x419124
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x419124
push 2
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
push esi
lea ecx, [esp + 0x84]
push ecx
call edi
mov esi, eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
test esi, esi
jne 0x419196
mov ebx, dword [esp + 0x29c]
mov edx, dword [ebx + 0x10]
mov edi, eax
lea esi, [esp + 0x24]
mov dword [ecx], edx
call fcn.00414000
mov byte [esp + 0x294], 0xf
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
push edx
call fcn.00403800
mov byte [esp + 0x2a4], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4191b9
mov edx, dword [esp + 0x29c]
mov dword [ecx], 2
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x3c]
push ecx
push eax
push edx
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x294], 5
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 0x4191e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 4
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 0x419209
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41922b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x294], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 1
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 0x41927b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 0
mov eax, dword [esp + 0x14]
jmp 0x418a42
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x294], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [ecx], 2
mov dword [esp + 0x1c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4192c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 4
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 0x4192ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419310
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x294], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419338
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 1
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 0x419360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x294], 0
add edi, 0xc
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x419385
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x294], 0xffffffff
cmp dword [esp + 0x4c], 0
je 0x4193b9
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 0x4193b9
mov ecx, dword [esp + 0x50]
push ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00461706
add esp, 0x284
ret