Function at 0x10043257
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x13c
mov eax, dword [0x1008c00c]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
mov ebx, dword [0x10090d48]
push ebp
push esi
push edi
mov dword [esp + 0x28], ebx
call fcn.10040ced
mov ecx, dword [ebx + 0x48]
mov edi, eax
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1003cec5
mov ebp, dword [esp + 0x10]
xor eax, eax
inc eax
mov dword [esp + 0xb0], 3
mov dword [esp + 0xf4], eax
xor ecx, ecx
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
cdq
mov dword [esp + 0xc4], edx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xc4], eax
lea edx, [esp + 0xb4]
push 0x100866d0
xor eax, eax
movlpd qword [esp + 0x108], xmm0
inc eax
mov dword [esp + 0x100], ecx
push 0
push 0x400
mov word [esp + 0xdc], ax
mov word [esp + 0xde], ax
mov dword [esp + 0xe4], eax
mov eax, dword [edi]
push edx
push 0
mov dword [esp + 0x114], ecx
lea edx, [esp + 0x10c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xfc], ecx
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe8], 0x1c
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
mov eax, dword [esp + 0x14]
xor ecx, ecx
shl eax, 2
inc ecx
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
add eax, 0xff
mov dword [esp + 0xb0], ecx
and eax, 0xffffff00
movlpd qword [esp + 0xb8], xmm0
mov esi, eax
mov dword [esp + 0x18], eax
imul esi, ebp
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov word [esp + 0xcc], cx
mov word [esp + 0xce], cx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
lea edx, [esp + 0x30]
mov dword [esp + 0xd8], eax
push edx
push 0x100866d0
push 0
push 0xac3
mov dword [esp + 0xf0], eax
lea edx, [esp + 0xc0]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x40], eax
mov eax, dword [edi]
push edx
push 0
mov dword [esp + 0xf4], ecx
lea edx, [esp + 0x10c]
mov dword [esp + 0x10c], 2
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
and dword [esp + 0x44], 0
and dword [esp + 0xec], 0
push edx
lea edx, [esp + 0xf0]
mov dword [esp + 0xf4], esi
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x20]
test ebp, ebp
jle 0x10043495
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push edi
add eax, esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esi, dword [esp + 0x24]
add esp, 0xc
add ebx, edi
sub ebp, 1
jne 0x1004346d
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xec]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
and dword [esp + 0x84], 0
xorps xmm0, xmm0
or dword [esp + 0x54], 0xffffffff
xor ecx, ecx
mov dword [esp + 0x60], eax
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
push edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
push 0x100866b0
mov dword [esp + 0x80], ebp
xor ebp, ebp
mov dword [esp + 0x90], eax
mov dword [esp + 0x58], eax
mov eax, dword [edi]
push ebp
push ebp
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], 0x1c
mov dword [esp + 0x8c], ecx
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], 0x400
mov dword [esp + 0x6c], 0x80
mov dword [esp + 0x48], ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x90]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [edi]
mov esi, eax
lea eax, [esp + 0x34]
mov dword [esp + 0x10c], ebp
push eax
push 0x100866e0
mov dword [esp + 0x110], ebp
lea eax, [esp + 0x110]
mov dword [esp + 0x118], ebp
mov dword [esp + 0x11c], 1
mov dword [esp + 0x3c], ebp
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x20]
mov eax, dword [edi]
lea edx, [esp + 0x40]
push edx
push 0x100866f0
mov dword [esp + 0x48], ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x24]
mov eax, dword [edi]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax]
push edx
push 0x100866c0
push ebp
push dword [esp + 0x4c]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push ebp
push edx
push ebp
mov ecx, dword [eax]
lea edx, [esp + 0x94]
push ebp
push ebp
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x48]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [esp + 0x34]
push ebp
push 1
push dword [esp + 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x38]
push esi
push ebp
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xorps xmm0, xmm0
mov dword [esp + 0x124], ebp
movlpd qword [esp + 0x130], xmm0
movlpd qword [esp + 0x138], xmm0
movzx eax, word [esp + 0xce]
lea edx, [esp + 0x118]
push dword [edi + 0x14]
mov dword [esp + 0x130], eax
mov eax, dword [edi]
push edx
push dword [esp + 0x44]
mov dword [esp + 0x124], 0x1c
mov dword [esp + 0x128], 4
mov dword [esp + 0x134], ebp
mov dword [esp + 0x12c], 0x1688
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1004370c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x10], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x1c]
pop edi
pop esi
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x13c]
pop ebp
pop ebx
xor ecx, esp
call fcn.1006dac1
add esp, 0x13c
ret