Function at 0x438910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43895c
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x438983
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4389a7
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4389cb
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4389ef
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
push str.filePath
call fcn.0044f800
cmp eax, 0x4b5590
je 0x439283
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 8], 0
jne 0x438a29
mov eax, 0x4b5590
jmp 0x438aab
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], str.filePath
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x438a7f
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x438a78
cmp dword [ebp - 0x14], 1
jne 0x438a78
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b5590
jmp 0x438aa7
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x438aa7
cmp dword [ebp - 0x14], 1
jne 0x438aa7
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
cmp byte [eax + 8], 4
jne 0x439283
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 8], 0
jne 0x438ac5
mov eax, 0x4b5590
jmp 0x438b44
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.filePath
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438b18
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x438b11
cmp dword [ebp - 0x14], 1
jne 0x438b11
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b5590
jmp 0x438b40
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x438b40
cmp dword [ebp - 0x14], 1
jne 0x438b40
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
mov edx, dword [eax]
test edx, edx
jne 0x438b4e
xor ecx, ecx
jmp 0x438b60
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438b56
sub ecx, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042ffa0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
call fcn.0045aa70
push str.newFilePath
mov ecx, esi
call fcn.0044f800
cmp eax, 0x4b5590
je 0x439230
cmp byte [esi + 8], 0
jne 0x438b9c
mov eax, 0x4b5590
jmp 0x438c1b
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.newFilePath
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438bef
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
je 0x438be8
cmp dword [ebp - 0x14], 1
jne 0x438be8
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b5590
jmp 0x438c17
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x438c17
cmp dword [ebp - 0x14], 1
jne 0x438c17
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
cmp byte [eax + 8], 4
jne 0x439230
cmp byte [esi + 8], 0
jne 0x438c32
mov edi, 0x4b5590
jmp 0x438caa
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.newFilePath
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438c84
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438c7d
cmp dword [ebp - 0x14], 1
jne 0x438c7d
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b5590
jmp 0x438ca6
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0
je 0x438ca6
cmp dword [ebp - 0x14], 1
jne 0x438ca6
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov edx, dword [edi]
test edx, edx
jne 0x438cb4
xor ecx, ecx
jmp 0x438cc9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438cc0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042ffa0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0045aa70
mov eax, dword [0x4b541c]
test eax, eax
jne 0x438d1d
push 0x230
call fcn.0045dac5
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.00462380
add esp, 0x10
mov ecx, esi
call fcn.00428910
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
mov dword [0x4b541c], eax
cmp byte [eax + 0x208], 0
je 0x438d3e
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x20]
call fcn.0045b9e0
add esp, 4
push str.newFileName
mov ecx, esi
call fcn.0044f800
cmp eax, 0x4b5590
je 0x43920e
cmp byte [esi + 8], 0
jne 0x438d62
mov edi, 0x4b5590
jmp 0x438dda
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.newFileName
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438db4
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438dad
cmp dword [ebp - 0x14], 1
jne 0x438dad
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b5590
jmp 0x438dd6
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 0
je 0x438dd6
cmp dword [ebp - 0x14], 1
jne 0x438dd6
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
cmp byte [edi + 8], 4
jne 0x43920e
cmp byte [esi + 8], 0
jne 0x438df1
mov edi, 0x4b5590
jmp 0x438e68
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.newFileName
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438e43
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438e3c
cmp dword [ebp - 0x14], 1
jne 0x438e3c
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b5590
jmp 0x438e64
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x13
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x438e64
cmp dword [ebp - 0x14], 1
jne 0x438e64
call fcn.0044e9d0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov edx, dword [edi]
test edx, edx
jne 0x438e72
xor ecx, ecx
jmp 0x438e80
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438e77
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042ffa0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.0045aa70
push str.onFinishId
mov ecx, esi
call fcn.0044f800
cmp eax, 0x4b5590
je 0x4390f7
cmp byte [esi + 8], 0
jne 0x438eb9
mov edi, 0x4b5590
jmp 0x438f30
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onFinishId
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438f0b
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438f04
cmp dword [ebp - 0x14], 1
jne 0x438f04
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b5590
jmp 0x438f2c
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x15
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x438f2c
cmp dword [ebp - 0x14], 1
jne 0x438f2c
call fcn.0044e9d0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
cmp byte [edi + 8], 1
jne 0x4390f7
cmp byte [esi + 8], 0
jne 0x438f47
mov esi, 0x4b5590
jmp 0x438fbe
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onFinishId
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438f99
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x438f92
cmp dword [ebp - 0x14], 1
jne 0x438f92
call fcn.0044e9d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b5590
jmp 0x438fba
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438fba
cmp dword [ebp - 0x14], 1
jne 0x438fba
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0044efa0
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x43910d
push 0x10
call fcn.0045dac5
add esp, 4
mov ebx, eax
push 0x4973c4
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.0042dad0
push 0x4973c4
lea ecx, [ebx + 8]
mov dword [ebx + 4], 0
call fcn.0042dad0
push 0x4973c4
lea ecx, [ebx + 0xc]
call fcn.0042dad0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0042eb20
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 8]
call fcn.0042eb20
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0xc]
call fcn.0042eb20
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push 0x438530
push 0
push 0
mov dword [ebp - 0x1c], 0
call fcn.00464f02
add esp, 0x18
test eax, eax
jne 0x4390ee
push ecx
mov ecx, ebx
call fcn.004393f0
push str.copyFile_beginthreadex_error
lea ecx, [ebp - 0x28]
call fcn.0042d970
push str.CDispatcherHandler::FileCopy
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458800
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4390ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4390cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4392ed
mov ecx, dword [edx]
push edx
jmp 0x4392e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43908d
push str.CDispatcherHandler::FileCopy
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00458800
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.00456dc0
add esp, 8
test al, al
jne 0x43908d
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x439140
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push esi
push edi
push ebx
push str._s__s__s__s
push eax
call fcn.00430100
add esp, 0x18
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0042eb20
push dword [ebp - 0x28]
push str.CDispatcherHandler::FileCopy
push str._s_CopyFile_error___s_
push 3
push 5
call fcn.00458800
mov byte [ebp - 4], 4
add esp, 0x14
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4391b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4391d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4391ec
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4392ed
mov ecx, dword [edx]
push edx
jmp 0x4392e8
push str.CDispatcherHandler::FileCopy
push str._s_newFileName_error
push 3
push 5
call fcn.00458800
add esp, 0x10
mov byte [ebp - 4], 3
lea edx, [ebx - 0x10]
jmp 0x439097
push str.CDispatcherHandler::FileCopy
push str._s_newFilePath_error
push 3
push 5
call fcn.00458800
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
add esp, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439264
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4390cc
mov ecx, dword [edi]
push edi
jmp 0x4390c7
push str.CDispatcherHandler::FileCopy
push str._s_filePath_error
push 3
push 5
call fcn.00458800
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
add esp, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4392b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4392d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4392ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x439391
mov eax, 8
mov word [edi], ax
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x439315
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1a
mov edx, 0x49a274
mov eax, dword [ebp - 0x28]
mov ecx, 0x49a268
push eax
cmp dword [eax - 0xc], 0
lea eax, [ebp - 0x1c]
cmovne ecx, edx
push ecx
push str.__result__:__s____error__:___s_
push eax
call fcn.00430100
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x49a5b4
push 0x49934c
call fcn.0042d680
mov esi, dword [ebp - 0x1c]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x439373
call fcn.0042f1a0
mov dword [edi + 8], eax
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439391
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4393af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4393ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045daaf
mov esp, ebp
pop ebp
ret 8