Function at 0x4384a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4888e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b3014]
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4384ec
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x438513
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x438537
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43855b
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43857f
push 0x80004005
call fcn.0041ffc0
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.0044f380
cmp eax, 0x4b75d0
je 0x438e13
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 8], 0
jne 0x4385b9
mov eax, 0x4b75d0
jmp 0x43863b
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.0044f6f0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43860f
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x438608
cmp dword [ebp - 0x14], 1
jne 0x438608
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x438637
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x438637
cmp dword [ebp - 0x14], 1
jne 0x438637
call fcn.0044e550
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 0x438e13
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 8], 0
jne 0x438655
mov eax, 0x4b75d0
jmp 0x4386d4
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4386a8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x4386a1
cmp dword [ebp - 0x14], 1
jne 0x4386a1
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x4386d0
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x4386d0
cmp dword [ebp - 0x14], 1
jne 0x4386d0
call fcn.0044e550
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 0x4386de
xor ecx, ecx
jmp 0x4386f0
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4386e6
sub ecx, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042fb30
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
call fcn.0045bba0
push str.newFilePath
mov ecx, esi
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x438dc0
cmp byte [esi + 8], 0
jne 0x43872c
mov eax, 0x4b75d0
jmp 0x4387ab
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43877f
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
je 0x438778
cmp dword [ebp - 0x14], 1
jne 0x438778
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x4387a7
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x4387a7
cmp dword [ebp - 0x14], 1
jne 0x4387a7
call fcn.0044e550
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 0x438dc0
cmp byte [esi + 8], 0
jne 0x4387c2
mov edi, 0x4b75d0
jmp 0x43883a
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438814
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43880d
cmp dword [ebp - 0x14], 1
jne 0x43880d
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x438836
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0
je 0x438836
cmp dword [ebp - 0x14], 1
jne 0x438836
call fcn.0044e550
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 0x438844
xor ecx, ecx
jmp 0x438859
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438850
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042fb30
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0045bba0
mov eax, dword [0x4b745c]
test eax, eax
jne 0x4388ad
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
mov dword [0x4b745c], eax
cmp byte [eax + 0x208], 0
je 0x4388ce
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x20]
call fcn.0045cf90
add esp, 4
push str.newFileName
mov ecx, esi
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x438d9e
cmp byte [esi + 8], 0
jne 0x4388f2
mov edi, 0x4b75d0
jmp 0x43896a
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438944
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43893d
cmp dword [ebp - 0x14], 1
jne 0x43893d
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x438966
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 0
je 0x438966
cmp dword [ebp - 0x14], 1
jne 0x438966
call fcn.0044e550
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 0x438d9e
cmp byte [esi + 8], 0
jne 0x438981
mov edi, 0x4b75d0
jmp 0x4389f8
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4389d3
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4389cc
cmp dword [ebp - 0x14], 1
jne 0x4389cc
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4389f4
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x13
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4389f4
cmp dword [ebp - 0x14], 1
jne 0x4389f4
call fcn.0044e550
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 0x438a02
xor ecx, ecx
jmp 0x438a10
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438a07
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042fb30
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.0045bba0
push str.onFinishId
mov ecx, esi
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x438c87
cmp byte [esi + 8], 0
jne 0x438a49
mov edi, 0x4b75d0
jmp 0x438ac0
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438a9b
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438a94
cmp dword [ebp - 0x14], 1
jne 0x438a94
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x438abc
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x15
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x438abc
cmp dword [ebp - 0x14], 1
jne 0x438abc
call fcn.0044e550
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 0x438c87
cmp byte [esi + 8], 0
jne 0x438ad7
mov esi, 0x4b75d0
jmp 0x438b4e
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x438b29
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x438b22
cmp dword [ebp - 0x14], 1
jne 0x438b22
call fcn.0044e550
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x438b4a
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x438b4a
cmp dword [ebp - 0x14], 1
jne 0x438b4a
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0044eb20
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x438c9d
push 0x10
call fcn.0045f4a5
add esp, 4
mov ebx, eax
push 0x4983ec
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.0042d660
push 0x4983ec
lea ecx, [ebx + 8]
mov dword [ebx + 4], 0
call fcn.0042d660
push 0x4983ec
lea ecx, [ebx + 0xc]
call fcn.0042d660
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0042e6b0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 8]
call fcn.0042e6b0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0xc]
call fcn.0042e6b0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push 0x4380c0
push 0
push 0
mov dword [ebp - 0x1c], 0
call fcn.004668e2
add esp, 0x18
test eax, eax
jne 0x438c7e
push ecx
mov ecx, ebx
call fcn.00438f80
push str.copyFile_beginthreadex_error
lea ecx, [ebp - 0x28]
call fcn.0042d500
push str.CDispatcherHandler::FileCopy
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458400
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 0x438c3e
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 0x438c5c
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 0x438e7d
mov ecx, dword [edx]
push edx
jmp 0x438e78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438c1d
push str.CDispatcherHandler::FileCopy
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00458400
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.00456970
add esp, 8
test al, al
jne 0x438c1d
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x438cd0
push 0x80004005
call fcn.0041ffc0
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.0042fc90
add esp, 0x18
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0042e6b0
push dword [ebp - 0x28]
push str.CDispatcherHandler::FileCopy
push str._s_CopyFile_error___s_
push 3
push 5
call fcn.00458400
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 0x438d43
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 0x438d61
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 0x438d7c
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 0x438e7d
mov ecx, dword [edx]
push edx
jmp 0x438e78
push str.CDispatcherHandler::FileCopy
push str._s_newFileName_error
push 3
push 5
call fcn.00458400
add esp, 0x10
mov byte [ebp - 4], 3
lea edx, [ebx - 0x10]
jmp 0x438c27
push str.CDispatcherHandler::FileCopy
push str._s_newFilePath_error
push 3
push 5
call fcn.00458400
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 0x438df4
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 0x438c5c
mov ecx, dword [edi]
push edi
jmp 0x438c57
push str.CDispatcherHandler::FileCopy
push str._s_filePath_error
push 3
push 5
call fcn.00458400
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 0x438e47
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 0x438e62
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 0x438e7d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x438f21
mov eax, 8
mov word [edi], ax
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x438ea5
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1a
mov edx, 0x49b164
mov eax, dword [ebp - 0x28]
mov ecx, 0x49b158
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.0042fc90
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x49b4a4
push 0x49a374
call fcn.0042d210
mov esi, dword [ebp - 0x1c]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x438f03
call fcn.0042ed30
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 0x438f21
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 0x438f3f
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 0x438f5e
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.0045f48f
mov esp, ebp
pop ebp
ret 8