Function at 0x422530
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b860
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Wow64DisableWow64FsRedirection
xor esi, esi
push str.kernel32
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
cmp eax, esi
je 0x422581
lea ecx, [ebp - 0x40]
push ecx
call eax
mov dword [ebp - 4], esi
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42259e
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 - 0x1c], eax
mov byte [ebp - 4], 1
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4225cb
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 - 0x10], eax
mov byte [ebp - 4], 2
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4225f8
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 - 0x14], eax
mov byte [ebp - 4], 3
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x422625
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 - 0x18], eax
mov byte [ebp - 4], 4
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x422652
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 - 0x24], eax
mov byte [ebp - 4], 5
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42267f
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 - 0x20], eax
push 1
lea ecx, [ebp - 0x1c]
push ecx
push ecx
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x3c], edi
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4226bb
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 0x4226f4
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
cmp eax, esi
je 0x422702
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x422702
push 0xa
push str.strSrcFile
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 6
call fcn.0043b9d0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x422825
mov ecx, 0xa0000001
lea esi, [ebp - 0x34]
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 - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42275e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
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 0x42278a
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4227ad
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4227d0
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4227f3
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422816
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x42360a
push 1
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x3c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42284e
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 0x422887
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x422895
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x422895
push 0xa
push str.strDstFile
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 6
call fcn.0043b9d0
cmp dword [0x5e084c], 0
mov dword [ebp - 0x28], eax
jne 0x4228d3
push 0x60
call fcn.0044c8d5
add esp, 4
test eax, eax
je 0x4228ca
mov esi, eax
call fcn.00445620
jmp 0x4228cc
xor eax, eax
mov dword [0x5e084c], eax
mov esi, edi
mov edi, dword [ebp - 0x10]
movzx ecx, word [edi]
xor eax, eax
mov edx, edi
test cx, cx
je 0x42293f
cmp cx, 0x5c
jne 0x4228f0
test eax, eax
jne 0x4228f2
mov eax, edx
jmp 0x4228f2
xor eax, eax
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x4228e2
test eax, eax
je 0x42293f
sub eax, edi
sar eax, 1
mov ebx, eax
jns 0x422914
push 0x80070057
call fcn.00407ad0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x422931
push ebx
lea ecx, [ebp - 0x10]
call fcn.004077a0
mov edi, dword [ebp - 0x10]
cmp ebx, dword [edi - 8]
jg 0x42290a
xor ecx, ecx
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], cx
push 1
push 0x5ad338
lea ecx, [ebp - 0x10]
call fcn.004138d0
cmp dword [ebp - 0x28], 0
jne 0x422a60
mov ecx, 0xa0000001
lea esi, [ebp - 0x34]
call fcn.0041ae20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422995
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
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 0x4229c1
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229e4
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a07
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a2a
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422816
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x42360a
push 1
lea ecx, [ebp - 0x24]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x3c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x422a89
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 0x422ac2
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x422ad0
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x422ad0
push 0xa
push str.iOverwrite
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 6
call fcn.0043b9d0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x422bf5
mov ecx, 0xa0000001
lea esi, [ebp - 0x34]
call fcn.0041ae20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040d290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
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 0x422b56
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b79
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b9c
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422bbf
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422816
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x42360a
mov esi, dword [ebp - 0x24]
push esi
call fcn.0054df0d
add esp, 4
push 1
lea ecx, [ebp - 0x20]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x422c2d
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 0x422c66
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x422c74
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x422c74
push 0xb
push str.iSystemBits
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 6
call fcn.0043b9d0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x422d99
mov ecx, 0xa0000001
lea esi, [ebp - 0x34]
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 - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
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 0x422cfa
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422d1d
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422d40
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422d63
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422816
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x42360a
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.0054df0d
add esp, 4
cmp dword [0x5d9fb8], 0
mov edi, eax
je 0x422df5
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 0x422deb
lea ecx, [ebp - 0x68]
push ecx
call eax
mov ax, word [ebp - 0x68]
cmp ax, 9
je 0x422de1
cmp ax, 6
jne 0x422deb
mov dword [0x5e0c44], 1
mov dword [0x5d9fb8], 0
test edi, edi
je 0x422e07
cmp edi, 1
jne 0x422e45
cmp dword [0x5e0c44], 0
jne 0x422e53
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x38], esp
mov edi, esp
mov dword [ebp - 0x2c], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x422f16
cmp eax, dword [esi]
jne 0x422f16
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x422f57
cmp edi, 2
jne 0x422e53
cmp dword [0x5e0c44], 0
jne 0x422e07
lea eax, [ebx - 0x10]
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422e7a
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 0x422e9a
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ebd
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ee0
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422816
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 - 0x1c]
add eax, 0xfffffff0
jmp 0x42360a
mov edx, dword [eax]
mov edx, dword [edx]
mov ebx, esi
mov ecx, dword [ebx + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x422f31
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
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0054de82
mov ebx, dword [ebp - 0x2c]
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [ebp - 0x28]
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 - 0x38], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x422f95
cmp eax, dword [ebx]
jne 0x422f95
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x422fd1
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 0x422fae
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 - 0x30]
call fcn.0044a7b0
add esp, 4
push eax
lea edx, [ebp - 0x34]
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 - 0x14]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x4230ab
cmp dword [edi + 0xc], 0
jl 0x42309e
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x42309e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42303e
cmp eax, dword [esi]
jne 0x42303e
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42307a
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 0x423057
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 0x423093
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x2c]
jmp 0x4230ab
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00407870
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4230ce
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4230f1
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x38], esp
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x34], edi
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x423148
cmp eax, dword [edi]
jne 0x423148
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x423184
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 0x423161
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 - 0x30]
add esi, 0x10
mov dword [edx], esi
lea esi, [ebp - 0x38]
call fcn.0044a990
add esp, 4
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lea esi, [eax - 0x10]
mov dword [ebp - 0x28], ecx
cmp esi, ecx
je 0x42325b
mov edx, ecx
cmp dword [edx + 0xc], 0
jl 0x42324e
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x42324e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4231e8
cmp eax, dword [esi]
jne 0x4231e8
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x423224
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 0x423201
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 - 0x28]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423243
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x2c]
jmp 0x42325b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00407870
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42327e
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 - 0x38], esp
mov dword [ebp - 0x38], esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4232a8
cmp eax, dword [edi]
jne 0x4232a8
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4232e4
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 0x4232c1
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 - 0x38]
add esi, 0x10
mov dword [edx], esi
call fcn.0044aaa0
mov ecx, dword [ebx]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x38], esp
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x42331d
cmp eax, dword [ebx]
jne 0x42331d
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x423359
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 0x423336
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 - 0x38]
add esi, 0x10
mov dword [edx], esi
call fcn.0044aaa0
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x42345c
cmp dword [ebp - 0x3c], 0
jne 0x42345c
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4233b0
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4233d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4233f0
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423413
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423623
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x423623
mov ebx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebx, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x3c], esp
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x42348d
cmp eax, dword [ebx]
jne 0x42348d
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4234c9
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 0x4234a6
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 - 0x3c]
add esi, 0x10
mov dword [edx], esi
call fcn.0044ab60
add esp, 4
test eax, eax
jne 0x4234e9
lea eax, [ebp - 0x10]
push eax
call fcn.00449bd0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x423666
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov ecx, eax
lea esi, [ebp - 0x30]
call fcn.0041ae20
mov edx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x2c]
push ecx
push esi
push eax
push edx
call fcn.00409220
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423586
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235c6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423603
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0
je 0x423651
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 0x423651
mov ecx, dword [ebp - 0x40]
push ecx
call eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov dword [ecx], 2
mov eax, dword [edx + 0x30]
push esi
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00409220
add esp, 0xc
jmp 0x423563