Function at 0x4b8940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513718
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b898c
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], 0
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b89bc
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x60], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b89eb
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x48], eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x60], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b8a1e
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x60], 3
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b8a4d
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov esi, dword [ebp + 8]
mov ecx, esi
push str.filePath
mov byte [esp + 0x64], 4
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b9681
push str.filePath
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b9681
push str.filePath
mov ecx, esi
call fcn.0048ad90
mov dword [esp + 0x34], eax
cmp byte [eax + 8], 4
je 0x4b8ac1
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4b8acb
xor ecx, ecx
jmp 0x4b8adf
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8ad4
sub ecx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0047e3b0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.0047da90
push str.newFilePath
mov ecx, esi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b9581
push str.newFilePath
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b9581
push str.newFilePath
mov ecx, esi
call fcn.0048ad90
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x4b8b4f
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x4b8b59
xor ecx, ecx
jmp 0x4b8b69
mov ecx, edx
lea ebx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8b60
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0047e3b0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x20]
call fcn.0047da90
push str.newFileName
mov ecx, esi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b943f
push str.newFileName
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b943f
push str.newFileName
mov ecx, esi
call fcn.0048ad90
mov edi, eax
cmp byte [edi + 8], 4
je 0x4b8bd9
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4b8be3
xor ecx, ecx
jmp 0x4b8bf1
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8be8
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0047e3b0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.0047da90
push str.onFinishId
mov ecx, esi
call fcn.0048ad90
mov esi, dword [esp + 0x18]
or ebx, 0xffffffff
mov edi, dword [esp + 0x2c]
cmp eax, 0x57a1b0
je 0x4b8ffe
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.0048ad90
cmp byte [eax + 8], 1
jne 0x4b8ffe
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.0048ad90
mov ecx, eax
call fcn.0048a570
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x4b9168
push 0x10
call fcn.004e991c
add esp, 4
test eax, eax
je 0x4b8c7f
mov ecx, eax
call fcn.004a19e0
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x4b8c85
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx]
lea edx, [esi - 0x10]
sub ecx, 0x10
mov dword [esp + 0x50], edx
or ebx, 0xffffffff
mov dword [esp + 0x30], ecx
cmp edx, ecx
je 0x4b8cf1
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x34], eax
jl 0x4b8ce4
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4b8ce4
mov ecx, edx
call fcn.00471fb0
mov edx, dword [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x38], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8cd9
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4b8cf1
push dword [esi - 0xc]
mov ecx, dword [esp + 0x18]
push esi
call fcn.004725a0
mov eax, dword [esp + 0x14]
lea edx, [edi - 0x10]
mov dword [esp + 0x4c], edx
lea ecx, [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [esp + 0x34], ecx
cmp edx, ecx
je 0x4b8d69
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x38], eax
jl 0x4b8d58
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4b8d58
mov ecx, edx
call fcn.00471fb0
mov edx, dword [esp + 0x38]
mov ecx, ebx
mov dword [esp + 0x3c], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8d4d
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4b8d65
push dword [edi - 0xc]
mov ecx, dword [esp + 0x34]
push edi
call fcn.004725a0
mov eax, dword [esp + 0x14]
lea edx, [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [edx]
sub edx, 0x10
lea ecx, [eax - 0x10]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
cmp ecx, edx
je 0x4b8de3
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x18]
jl 0x4b8dd6
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4b8dd6
mov ecx, dword [esp + 0x34]
call fcn.00471fb0
mov dword [esp + 0x40], eax
mov ecx, ebx
mov eax, dword [esp + 0x3c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8dc7
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4b8de3
push dword [eax - 0xc]
mov ecx, dword [esp + 0x34]
push eax
call fcn.004725a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push eax
push 0x4a3ba0
push 0
push 0
mov dword [esp + 0x60], 0
call fcn.004ea558
add esp, 0x18
test eax, eax
jne 0x4b8f95
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004b3160
push esi
call fcn.004e98a6
add esp, 4
lea ecx, [esp + 0x1c]
push str.copyFile_beginthreadex_error
call fcn.00471e60
push str._beginthreadex_error
lea ecx, [esp + 0x18]
call fcn.00471c70
push str.copyFile
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0x16
call fcn.00471bb0
mov byte [esp + 0x60], 0x17
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b8e7b
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
lea eax, [esp + 0x14]
mov byte [esp + 0x60], 0x18
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 0x19
cmp dword [eax + 0xc], 0
je 0x4b8ec5
push 2
push ecx
lea ecx, [esp + 0x38]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 0x18
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8ee7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x60], 0x17
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8f05
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x16
mov ecx, ebx
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8f27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8f49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 3
mov ecx, ebx
mov edx, dword [esp + 0x34]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8f68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 2
mov ecx, ebx
mov edx, dword [esp + 0x4c]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8f87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x50]
jmp 0x4b97dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x60], 3
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8fbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x60], 2
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b8fdc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x60], 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b97f3
mov ecx, dword [esi]
push esi
jmp 0x4b97ee
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b901a
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.onFinishId_not_exist
mov byte [esp + 0x60], 0x11
test eax, 0xffff0000
jne 0x4b9054
movzx ebx, ax
mov ecx, ebx
call fcn.00471400
test eax, eax
je 0x4b9062
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.004724d0
jmp 0x4b9062
push str.onFinishId_not_exist
lea ecx, [esp + 0x18]
call fcn.00471eb0
push str.copyFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0x12
call fcn.00471bb0
mov byte [esp + 0x60], 0x13
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b9096
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x60], 0x14
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 0x15
cmp dword [eax + 0xc], 0
je 0x4b90e0
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 0x14
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9103
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x60], 0x13
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9124
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x12
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9168
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.00478010
add esp, 8
test al, al
jne 0x4b8f9c
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b91a6
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x60], 0x1a
lea eax, [esp + 0x14]
push dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x24]
push str.copyfilesyncerror
push str._s__s__s__s__s
push eax
call fcn.00472d30
add esp, 0x1c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.00473a30
push str.CopyFile_error
lea ecx, [esp + 0x34]
call fcn.00471bb0
push str.copyFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0x1b
call fcn.00471bb0
mov byte [esp + 0x60], 0x1c
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b9232
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x50], esi
mov byte [esp + 0x60], 0x1d
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b9261
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0x10
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x50]
mov byte [esp + 0x60], 0x1e
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0x1f
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0x20
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 0x21
cmp dword [eax + 0xc], 0
je 0x4b92df
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 0x20
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9302
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x1f
or ecx, 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9325
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x1e
or ecx, 0xffffffff
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x3c]
or ecx, 0xffffffff
mov byte [esp + 0x60], 0x1d
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9368
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x60], 0x1c
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9389
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x1b
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b93ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0x1a
mov ecx, esi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b93cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b93ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x60], 3
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b940d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x60], 2
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b942e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
jmp 0x4b97dd
push str.newFileName_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.copyFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0xd
call fcn.00471bb0
mov byte [esp + 0x60], 0xe
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b9481
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x50], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x60], 0xf
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 0x10
cmp dword [eax + 0xc], 0
je 0x4b94cb
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 0xf
or ebx, 0xffffffff
mov edx, dword [esp + 0x4c]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b94f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x60], 0xe
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b950e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0xd
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9530
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov ecx, ebx
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9552
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x60], 3
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9570
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 2
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
jmp 0x4b9418
push str.newFilePath_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.copyFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 9
call fcn.00471bb0
mov byte [esp + 0x60], 0xa
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b95c3
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x50], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x60], 0xb
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 0xc
cmp dword [eax + 0xc], 0
je 0x4b960d
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 0xb
or eax, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b9630
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x60], 0xa
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 9
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9673
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov edx, dword [esp + 0x30]
jmp 0x4b93d6
push str.filePath_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.copyFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 5
call fcn.00471bb0
mov byte [esp + 0x60], 6
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b96c3
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x50], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x60], 7
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], 8
cmp dword [eax + 0xc], 0
je 0x4b970d
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x60], 7
or eax, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b9730
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x60], 6
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9751
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 5
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9773
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 4
mov ecx, esi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b9795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x60], 3
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b97b3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x60], 2
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b97d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 1
mov edx, dword [esp + 0x48]
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b97f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4b98a9
mov eax, 8
mov word [edi], ax
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b9822
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x60], 0x22
mov edx, str.false
mov eax, dword [esp + 0x1c]
mov ecx, str.true
push eax
cmp dword [eax - 0xc], 0
lea eax, [esp + 0x30]
cmovne ecx, edx
push ecx
push str.__result__:__s____error__:___s_
push eax
call fcn.00472d30
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0x54df00
push 0x54d150
call fcn.00473670
mov esi, dword [esp + 0x2c]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4b9888
call fcn.004722b0
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [esp + 0x60], 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b98a9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x60], 0
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b98cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x60], 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4b98ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8