Function at 0x415200
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x485c78
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
push str.Wow64DisableWow64FsRedirection
xor ebx, ebx
push str.kernel32
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 0x415268
lea ecx, [esp + 0x50]
push ecx
call eax
mov dword [esp + 0x80], ebx
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415289
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 + 0x80], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4152bb
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 + 0x14], eax
mov byte [esp + 0x80], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4152ed
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 + 0x80], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41531f
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 + 0x80], 4
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415351
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 + 0x80], 5
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415383
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 + 0x80], 6
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4153b5
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 + 0x80], 7
call fcn.004440b8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4153e7
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
push 1
lea ecx, [esp + 0x34]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.strSrvFile
mov byte [esp + 0x90], 8
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4155af
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov byte [esp + 0x80], 9
mov ecx, dword [esp + 0x94]
push eax
call fcn.00407570
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x80], 7
mov dword [ecx], 0
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 0x4154ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
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 0x4154fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
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 0x41554b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
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 0x415573
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
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
jg 0x41559b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
jmp 0x4162dd
push 1
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.strDstDir
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
cmp dword [0x4a95e8], 0
mov dword [esp + 0x34], eax
jne 0x415608
push 0x60
call fcn.00443d07
add esp, 4
test eax, eax
je 0x4155f3
mov esi, eax
call fcn.00437cc0
jmp 0x4155f5
xor eax, eax
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x94]
mov dword [0x4a95e8], eax
mov eax, 0x5c
lea ebx, [esp + 0x14]
call fcn.004117a0
push 1
push 0x49151c
mov ecx, ebx
call fcn.0040e2c0
cmp dword [esp + 0x34], 0
jne 0x415646
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov byte [esp + 0x80], 0xa
jmp 0x415441
push 1
lea ecx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.iOverwrite
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x415689
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov byte [esp + 0x80], 0xb
jmp 0x415441
mov ecx, dword [esp + 0x2c]
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.iSystemBits
mov dword [esp + 0x58], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x415706
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov ecx, dword [esp + 0x94]
push eax
mov byte [esp + 0x84], 0xc
call fcn.00407570
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41546a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00461856
add esp, 4
push 1
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.iKeepDir
mov dword [esp + 0x54], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x415783
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov ecx, dword [esp + 0x94]
push eax
mov byte [esp + 0x84], 0xd
call fcn.00407570
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41546a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00461856
add esp, 4
push 0
lea edx, [esp + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.strResRoot
mov dword [esp + 0x4c], eax
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x415800
mov edi, 0xa0000001
lea esi, [esp + 0x3c]
call fcn.00414000
mov ecx, dword [esp + 0x94]
push eax
mov byte [esp + 0x84], 0xe
call fcn.00407570
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41546a
cmp dword [esp + 0x3c], 0
je 0x415b82
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415825
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 + 0x3c], eax
mov byte [esp + 0x80], 0xf
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415857
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
push 0
lea ecx, [esp + 0x40]
push ecx
push ecx
mov byte [esp + 0x8c], 0x10
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.strSrvFile
call fcn.00401ed0
push esi
mov ebx, ebp
call fcn.0042e350
mov dword [esp + 0x34], eax
test eax, eax
jne 0x415964
mov edi, 0xa0000001
lea esi, [esp + 0x40]
call fcn.00414000
mov ecx, dword [esp + 0x94]
push eax
mov byte [esp + 0x84], 0x11
call fcn.00407570
mov byte [esp + 0x80], 0x10
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4158e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x80], 0xf
mov eax, dword [esp + 0x38]
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 0x41591b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 7
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
jmp 0x41549f
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
lea ecx, [esp + 0x38]
jne 0x415a68
push 9
push str._ProjRes_
call fcn.00401da0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x415b36
cmp dword [esi - 0xc], 0
jl 0x415b36
push edi
push esi
call fcn.00462453
add esp, 8
test eax, eax
je 0x415b36
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x415b36
mov eax, dword [edi - 0xc]
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x44]
call fcn.0040f240
mov bl, 0x12
mov byte [esp + 0x80], bl
mov ebp, dword [esp + 0x40]
push ecx
mov dword [esp + 0x38], esp
add ebp, 0xfffffff0
mov esi, esp
push ebp
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x38]
call fcn.0043d450
add esp, 4
mov byte [esp + 0x80], 0x13
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040e2c0
mov byte [esp + 0x80], bl
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 0x415a3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4a95e8], 0
jne 0x415af8
push 0x60
call fcn.00443d07
add esp, 4
test eax, eax
je 0x415af1
mov esi, eax
call fcn.00437cc0
jmp 0x415af3
lea edx, [esp + 0x20]
push edx
call fcn.00407570
mov edi, dword [esp + 0x38]
cmp dword [edi - 0xc], 0
jl 0x415986
push str._ProjRes__
push edi
call fcn.00462453
add esp, 8
test eax, eax
je 0x415ab3
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x415ab3
push str._ProjRes_
push str._ProjRes__
lea eax, [esp + 0x40]
push eax
call fcn.004030d0
mov edi, dword [esp + 0x38]
cmp dword [edi - 0xc], 0
jl 0x415986
push 0x491514
push edi
call fcn.00462453
add esp, 8
test eax, eax
je 0x415986
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x415986
push 0x49151c
push 0x491514
lea ecx, [esp + 0x40]
push ecx
jmp 0x415aaa
xor eax, eax
mov dword [0x4a95e8], eax
mov eax, 0x5c
lea ebx, [esp + 0x14]
call fcn.004117a0
push 1
push 0x49151c
mov ecx, ebx
call fcn.0040e2c0
mov byte [esp + 0x80], 0x10
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b36
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0xfffffff0
mov byte [esp + 0x80], 0xf
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415b5a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4a657c], 0
je 0x415bd2
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 0x415bc8
lea ecx, [esp + 0x54]
push ecx
call eax
mov ax, word [esp + 0x54]
cmp ax, 9
je 0x415bbe
cmp ax, 6
jne 0x415bc8
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x415be8
cmp eax, 1
jne 0x415c1f
cmp dword [0x4a99d4], 0
jne 0x415c2d
mov ebp, dword [esp + 0x30]
push ecx
mov dword [esp + 0x48], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov edi, esp
mov dword [esp + 0x3c], ebp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x415c42
cmp eax, dword [ebp]
jne 0x415c42
mov esi, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415c7e
cmp eax, 2
jne 0x415c2d
cmp dword [0x4a99d4], 0
jne 0x415be8
mov dword [esp + 0x34], 1
mov byte [esp + 0x80], 7
jmp 0x41548b
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 0x415c5b
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 + 0x40]
call fcn.0043d140
add esp, 4
mov byte [esp + 0x80], 0x14
push eax
push ecx
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x3c], esp
mov edi, esp
call eax
cmp dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
jl 0x415cc4
cmp eax, dword [ebp]
jne 0x415cc4
mov esi, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x415d00
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 0x415cdd
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 + 0x48]
call fcn.0043d220
add esp, 4
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x8c], 0x15
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x80], 0x16
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x415d86
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x415d78
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x415d78
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 0x415d6f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x415d86
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401da0
mov byte [esp + 0x80], 0x15
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 0x415dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0x14
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x80], 0x17
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x415e74
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x415e66
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x415e66
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 0x415e5d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x415e74
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401da0
mov byte [esp + 0x80], 8
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 0x415e9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [esp + 0x48], esp
mov ebx, esp
mov dword [esp + 0x48], edi
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x415ed2
cmp eax, dword [edi]
jne 0x415ed2
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415f0e
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 0x415eeb
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 0x41607f
cmp dword [esp + 0x48], 0
jne 0x41607f
mov edx, dword [esp + 0x90]
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [edx], 2
mov dword [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 6
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 0x415f93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
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 0x415fbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 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 0x415fe3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416004
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x80], 2
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 0x41602c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
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
jg 0x416054
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4162f6
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
jmp 0x4162f6
mov ebp, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
call edx
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x4160b2
cmp eax, dword [ebp]
jne 0x4160b2
mov esi, ebp
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4160ee
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 0x4160cb
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
call fcn.0043d640
add esp, 4
test eax, eax
jne 0x41610c
lea edx, [esp + 0x14]
push edx
call fcn.0043c410
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x90]
test esi, esi
jne 0x41619c
mov ebx, dword [esp + 0x88]
mov edx, dword [ebx + 0x10]
mov edi, eax
lea esi, [esp + 0x3c]
mov dword [ecx], edx
call fcn.00414000
mov byte [esp + 0x80], 0x18
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
push edx
mov edx, dword [esp + 0x98]
push ecx
push eax
push edx
call fcn.00403800
mov byte [esp + 0x90], 8
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4161c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4161c2
mov edx, dword [esp + 0x88]
mov dword [ecx], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x94]
push ecx
push eax
push edx
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x80], 7
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 0x4161ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 6
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 0x416212
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
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 0x41623a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 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 0x416262
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x44]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
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 0x4162af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4162d1
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4162f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x4c], 0
je 0x41632a
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 0x41632a
mov ecx, dword [esp + 0x50]
push ecx
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret