Function at 0x4358a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4847e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ad014]
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.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4358ec
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x435913
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x435937
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43595b
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43597f
push 0x80004005
call fcn.0041fef0
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.0044bda0
cmp eax, 0x4b15b0
je 0x436213
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 8], 0
jne 0x4359b9
mov eax, 0x4b15b0
jmp 0x435a3b
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.0044c110
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x435a0f
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x435a08
cmp dword [ebp - 0x14], 1
jne 0x435a08
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b15b0
jmp 0x435a37
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x435a37
cmp dword [ebp - 0x14], 1
jne 0x435a37
call fcn.0044af70
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 0x436213
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 8], 0
jne 0x435a55
mov eax, 0x4b15b0
jmp 0x435ad4
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435aa8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x435aa1
cmp dword [ebp - 0x14], 1
jne 0x435aa1
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b15b0
jmp 0x435ad0
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x435ad0
cmp dword [ebp - 0x14], 1
jne 0x435ad0
call fcn.0044af70
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 0x435ade
xor ecx, ecx
jmp 0x435af0
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435ae6
sub ecx, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042d030
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
call fcn.00457d60
push str.newFilePath
mov ecx, esi
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x4361c0
cmp byte [esi + 8], 0
jne 0x435b2c
mov eax, 0x4b15b0
jmp 0x435bab
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435b7f
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
je 0x435b78
cmp dword [ebp - 0x14], 1
jne 0x435b78
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b15b0
jmp 0x435ba7
add eax, 0x18
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x435ba7
cmp dword [ebp - 0x14], 1
jne 0x435ba7
call fcn.0044af70
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 0x4361c0
cmp byte [esi + 8], 0
jne 0x435bc2
mov edi, 0x4b15b0
jmp 0x435c3a
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435c14
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x435c0d
cmp dword [ebp - 0x14], 1
jne 0x435c0d
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x435c36
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0
je 0x435c36
cmp dword [ebp - 0x14], 1
jne 0x435c36
call fcn.0044af70
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 0x435c44
xor ecx, ecx
jmp 0x435c59
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435c50
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042d030
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.00457d60
mov eax, dword [0x4b143c]
test eax, eax
jne 0x435cad
push 0x230
call fcn.0045b665
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.0045ff60
add esp, 0x10
mov ecx, esi
call fcn.00428000
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
mov dword [0x4b143c], eax
cmp byte [eax + 0x208], 0
je 0x435cce
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x20]
call fcn.00459150
add esp, 4
push str.newFileName
mov ecx, esi
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x43619e
cmp byte [esi + 8], 0
jne 0x435cf2
mov edi, 0x4b15b0
jmp 0x435d6a
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435d44
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x435d3d
cmp dword [ebp - 0x14], 1
jne 0x435d3d
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x435d66
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 0
je 0x435d66
cmp dword [ebp - 0x14], 1
jne 0x435d66
call fcn.0044af70
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 0x43619e
cmp byte [esi + 8], 0
jne 0x435d81
mov edi, 0x4b15b0
jmp 0x435df8
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435dd3
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x435dcc
cmp dword [ebp - 0x14], 1
jne 0x435dcc
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x435df4
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x13
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x435df4
cmp dword [ebp - 0x14], 1
jne 0x435df4
call fcn.0044af70
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 0x435e02
xor ecx, ecx
jmp 0x435e10
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435e07
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042d030
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00457d60
push str.onFinishId
mov ecx, esi
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x436087
cmp byte [esi + 8], 0
jne 0x435e49
mov edi, 0x4b15b0
jmp 0x435ec0
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435e9b
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x435e94
cmp dword [ebp - 0x14], 1
jne 0x435e94
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x435ebc
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x15
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x435ebc
cmp dword [ebp - 0x14], 1
jne 0x435ebc
call fcn.0044af70
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 0x436087
cmp byte [esi + 8], 0
jne 0x435ed7
mov esi, 0x4b15b0
jmp 0x435f4e
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.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435f29
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x435f22
cmp dword [ebp - 0x14], 1
jne 0x435f22
call fcn.0044af70
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b15b0
jmp 0x435f4a
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x435f4a
cmp dword [ebp - 0x14], 1
jne 0x435f4a
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0044b540
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x43609d
push 0x10
call fcn.0045b665
add esp, 4
mov ebx, eax
push 0x4943cc
mov ecx, ebx
mov byte [ebp - 4], 0x18
call fcn.0042aca0
push 0x4943cc
lea ecx, [ebx + 8]
mov dword [ebx + 4], 0
call fcn.0042aca0
push 0x4943cc
lea ecx, [ebx + 0xc]
call fcn.0042aca0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0042bbb0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 8]
call fcn.0042bbb0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0xc]
call fcn.0042bbb0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push 0x4354b0
push 0
push 0
mov dword [ebp - 0x1c], 0
call fcn.00462ae2
add esp, 0x18
test eax, eax
jne 0x43607e
push ecx
mov ecx, ebx
call fcn.00436380
push str.copyFile_beginthreadex_error
lea ecx, [ebp - 0x28]
call fcn.0042abb0
push str.CDispatcherHandler::FileCopy
push str._s__beginthreadex_error
push 3
push 5
call fcn.00454a40
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 0x43603e
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 0x43605c
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 0x43627d
mov ecx, dword [edx]
push edx
jmp 0x436278
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43601d
push str.CDispatcherHandler::FileCopy
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00454a40
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.00453340
add esp, 8
test al, al
jne 0x43601d
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4360d0
push 0x80004005
call fcn.0041fef0
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.0042d1b0
add esp, 0x18
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0042bbb0
push dword [ebp - 0x28]
push str.CDispatcherHandler::FileCopy
push str._s_CopyFile_error___s_
push 3
push 5
call fcn.00454a40
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 0x436143
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 0x436161
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 0x43617c
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 0x43627d
mov ecx, dword [edx]
push edx
jmp 0x436278
push str.CDispatcherHandler::FileCopy
push str._s_newFileName_error
push 3
push 5
call fcn.00454a40
add esp, 0x10
mov byte [ebp - 4], 3
lea edx, [ebx - 0x10]
jmp 0x436027
push str.CDispatcherHandler::FileCopy
push str._s_newFilePath_error
push 3
push 5
call fcn.00454a40
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 0x4361f4
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 0x43605c
mov ecx, dword [edi]
push edi
jmp 0x436057
push str.CDispatcherHandler::FileCopy
push str._s_filePath_error
push 3
push 5
call fcn.00454a40
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 0x436247
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 0x436262
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 0x43627d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x436321
mov eax, 8
mov word [edi], ax
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4362a5
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1a
mov edx, 0x496fd0
mov eax, dword [ebp - 0x28]
mov ecx, 0x496fc4
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.0042d1b0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x49708c
push 0x496348
call fcn.0042a8c0
mov esi, dword [ebp - 0x1c]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x436303
call fcn.0042c230
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 0x436321
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 0x43633f
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 0x43635e
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.0045b64f
mov esp, ebp
pop ebp
ret 8