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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b35c0
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ecx + 0x18]
test esi, esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
je 0x10035dae
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
test esi, esi
mov dword [esp + 0x100], 0
je 0x100361a1
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
je 0x10035de0
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
test ebx, ebx
mov byte [esp + 0x100], 1
je 0x1003618d
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
mov edi, eax
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edi
je 0x10035e13
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
xor ecx, ecx
cmp edi, ecx
mov byte [esp + 0x100], 2
je 0x1003617c
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jne 0x10035e3d
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x20]
push eax
mov ecx, edi
call edx
jmp 0x10036128
cmp eax, 2
jne 0x100361a5
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x100], 3
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
call fcn.100378f0
test eax, eax
jbe 0x10036105
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
call fcn.10037910
mov edi, eax
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], edi
call fcn.10085a10
add esp, 4
xor esi, esi
mov ebx, 7
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], esi
mov word [esp + 0xbc], si
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
mov word [esp + 0xa0], si
push esi
lea eax, [esp + 0xbc]
push eax
push edi
lea edx, [esp + 0x34]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x10c], 6
call fcn.100861f0
add esp, 0xc
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], esi
mov word [esp + 0x84], si
mov byte [esp + 0x100], bl
mov ecx, dword [esp + 0x28]
push ecx
push 0x100b7748
lea ecx, [esp + 0x88]
call fcn.1007f4f0
mov eax, dword [esp + 0x70]
add esp, 8
cmp dword [esp + 0x7c], 8
jae 0x10035f2c
lea eax, [esp + 0x68]
mov ebx, dword [esp + 0x78]
push eax
xor eax, eax
mov edx, edi
call fcn.1000b7c0
add eax, ebx
push 0xffffffffffffffff
push edi
mov ecx, eax
lea esi, [esp + 0xdc]
call fcn.100100b0
mov eax, 8
mov byte [esp + 0x100], al
cmp dword [esp + 0x98], eax
mov eax, dword [esp + 0x84]
jae 0x10035f70
lea eax, [esp + 0x84]
mov ebx, dword [esp + 0x94]
push eax
xor eax, eax
lea edx, [esp + 0xd8]
call fcn.1000b7c0
xor ebx, ebx
cmp eax, 0xffffffff
je 0x10035fd1
cmp eax, ebx
jne 0x10035fd1
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x68]
push eax
lea edi, [esp + 0x50]
call fcn.1000bfc0
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x108], 9
call fcn.10002570
mov ecx, edi
mov byte [esp + 0x100], 8
call fcn.10002160
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x78], ebx
jne 0x10035fe5
push 0xffffffffffffffff
push ebx
mov eax, edi
lea ecx, [esp + 0x6c]
call fcn.10002570
lea ecx, [esp + 0x64]
push ecx
lea esi, [esp + 0x34]
call fcn.10016580
mov edi, 8
cmp dword [esp + 0xec], edi
jb 0x10036011
mov edx, dword [esp + 0xd8]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x98], edi
mov esi, 7
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x10036045
mov eax, dword [esp + 0x84]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb4], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x10036074
mov ecx, dword [esp + 0xa0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x100360a3
mov edx, dword [esp + 0xbc]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x100], 3
cmp dword [esp + 0x7c], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x100360d4
mov eax, dword [esp + 0x68]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x10]
add esi, 1
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x10], esi
call fcn.100378f0
cmp esi, eax
jb 0x10035e6f
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call edx
lea esi, [esp + 0x30]
mov byte [esp + 0x100], 2
call fcn.10016360
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x10036141
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov byte [esp + 0x100], 0xa
je 0x10036158
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov byte [esp + 0x100], 2
je 0x1003616b
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x100], 1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov byte [esp + 0x100], 0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esp + 0x100], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor al, al
jmp 0x100361e2
mov byte [esp + 0x100], 1
mov edx, dword [edi]
cmp eax, 1
mov eax, dword [edx + 4]
mov ecx, edi
je 0x1003617a
call eax
mov byte [esp + 0x100], 0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esp + 0x100], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.100a4489
mov esp, ebp
pop ebp
ret 0xc