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

Disassembly:
push 0xffffffffffffffff
push 0x10089e28
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x10035583
xor al, al
jmp 0x1003578b
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
movlpd qword [esp + 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
push 0x4000
mov dword [esp + 0x34], eax
movupd xmmword [esp + 0x48], xmm0
mov byte [esp + 0x1b], 0
call fcn.10081b1c
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], 0
push 0x4000
push 0
push esi
call sub.MSVCR120.dll_memset
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x1c], ebp
cmp dword [edi + 0x1c], ebp
jb 0x10035725
ja 0x10035600
cmp dword [edi + 0x18], ebp
jbe 0x10035725
nop
cmp byte [ebx + 0x9c], 0
jne 0x10035725
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
call fcn.10054950
cmp byte [ebx + 0x9c], 0
mov esi, eax
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xb0], ecx
jne 0x10035725
cmp esi, 0xffffffff
je 0x10035725
test esi, esi
je 0x1003568c
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x54]
push edx
push esi
push dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esp + 0x60], 0
mov eax, dword [eax]
call eax
test al, al
je 0x10035676
cmp dword [esp + 0x54], esi
je 0x100356ba
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xb0], eax
jmp 0x10035725
cmp byte [edi + 0x28], 0
jne 0x10035725
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x100356ac
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx + 0x9c], 0
jne 0x10035725
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, 0xf
ja 0x10035725
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x100356ff
mov ecx, dword [edi + 0x18]
mov eax, ecx
mov ebp, dword [edi + 0x1c]
and eax, ebp
cmp eax, 0xffffffff
je 0x100356de
add ecx, dword [edi + 0x20]
adc ebp, dword [edi + 0x24]
mov edx, dword [esp + 0x3c]
xor eax, eax
add edx, dword [edi + 0x20]
mov esi, dword [esi]
adc eax, dword [edi + 0x24]
push eax
push edx
mov eax, dword [esi + 8]
push ebp
push ecx
mov ecx, dword [ebx + 0x98]
call eax
test al, al
je 0x10035720
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 0x1c]
ja 0x10035725
jb 0x10035713
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [edi + 0x18]
jae 0x10035729
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x10035600
mov byte [esp + 0x17], 1
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003573b
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [ebx + 0xb8], ebp
mov dword [ebx + 0xbc], eax
mov dword [esp + 0x58], 0
cmp ebp, dword [edi + 0x18]
jne 0x10035761
cmp eax, dword [edi + 0x1c]
jne 0x10035761
mov al, 1
jmp 0x10035763
xor al, al
cmp byte [esp + 0x17], 0
je 0x10035774
xor al, al
cmp byte [ebx + 0x9c], al
jne 0x10035783
cmp byte [edi + 0x28], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x6c], 0xffffffff
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10081b94
add esp, 0x5c
ret 0xc