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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e300
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0xb0
mov dword [edi + 4], 0
call fcn.1006933d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
push edi
call fcn.10038970
mov ebx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
movzx eax, word [ebx + 0xe]
lea ecx, [esi + 0x8c]
mov word [esi + 0xe], ax
movzx eax, word [ebx + 0x12]
mov word [esi + 0x12], ax
movzx eax, word [ebx + 0x10]
mov word [esi + 0x10], ax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x80]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x98]
test eax, eax
je 0x100363fa
cmp dword [eax + 0x14], 8
jb 0x100363ec
mov eax, dword [eax]
push eax
call fcn.10035e80
lea ecx, [esi + 0x8c]
jmp 0x10036425
mov eax, dword [ecx + 0xc]
mov dword [ebp + 8], eax
test eax, eax
je 0x10036425
mov ecx, eax
call fcn.10008ff0
push 0x18
push dword [ebp + 8]
call fcn.100696b3
lea ecx, [esi + 0x8c]
add esp, 8
mov dword [ecx + 0xc], 0
lea eax, [ebx + 0x8c]
push eax
call fcn.1003bb70
mov eax, dword [ebx + 0xa8]
lea ecx, [esi + 0x9c]
test eax, eax
je 0x10036457
cmp dword [eax + 0x14], 8
jb 0x10036449
mov eax, dword [eax]
push eax
call fcn.10035e80
lea ecx, [esi + 0x9c]
jmp 0x10036482
mov eax, dword [ecx + 0xc]
mov dword [ebp + 8], eax
test eax, eax
je 0x10036482
mov ecx, eax
call fcn.10008ff0
push 0x18
push dword [ebp + 8]
call fcn.100696b3
lea ecx, [esi + 0x9c]
add esp, 8
mov dword [ecx + 0xc], 0
lea eax, [ebx + 0x9c]
push eax
call fcn.1003bb70
lea eax, [ebx + 0x48]
push eax
lea ecx, [esi + 0x48]
call fcn.10035af0
lea eax, [ebx + 0x54]
lea ecx, [esi + 0x54]
push eax
call fcn.10035af0
lea ecx, [esi + 0x54]
call fcn.1003c100
mov al, byte [ebx + 0xac]
mov ecx, esi
mov byte [esi + 0xac], al
mov al, byte [ebx + 0x7e]
push 0
push 0
mov byte [esi + 0x7e], al
call fcn.1003b350
push ecx
mov ecx, esi
call fcn.1003b4c0
mov al, byte [esi + 0x7e]
movzx ecx, al
cmp ecx, 1
je 0x100364eb
cmp ecx, 2
je 0x100364eb
cmp al, 3
je 0x100364eb
xor al, al
jmp 0x100364ed
mov al, 1
test al, al
je 0x10036503
cmp dword [esi + 0x3c], 0
ja 0x10036503
jb 0x100364ff
cmp dword [esi + 0x38], 0x14
jae 0x10036503
mov byte [esi + 0x7f], 1
mov ecx, edi
call fcn.100366f0
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 4]
sub edx, dword [eax]
sar edx, 2
test ecx, ecx
ja 0x10036533
mov eax, dword [ebp + 0xc]
jb 0x10036528
cmp eax, edx
jae 0x10036533
and eax, ecx
mov byte [ebp + 0xb], 1
cmp eax, 0xffffffff
jne 0x10036537
mov byte [ebp + 0xb], 0
mov eax, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [eax + 0x60]
shr eax, 4
and al, 1
movzx eax, al
push eax
push dword [ebp + 0x14]
call fcn.1003a270
cmp byte [ebp + 0x18], 0
je 0x10036574
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
cmp byte [ebp + 0xb], 0
je 0x10036630
push 1
mov ecx, esi
call fcn.10035d20
test al, al
je 0x100366d7
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp + 0xc]
push 0
mov eax, dword [eax]
lea ecx, [ebx*4]
mov dword [ebp + 8], ecx
mov eax, dword [ecx + eax]
mov ecx, dword [edi + 0x14]
mov dword [ebp + 0x18], eax
push dword [eax + 0x44]
push dword [eax + 0x40]
call fcn.100341c0
push 0
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [ebp + 0x18]
call fcn.10037200
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx]
add ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x18], eax
cmp dword [edx + 8], eax
je 0x1003661c
cmp ecx, eax
jne 0x100365ef
mov dword [eax], esi
add dword [edx + 4], 4
mov dword [edi + 4], esi
jmp 0x1003667a
mov edi, dword [ebp + 0x18]
lea ecx, [eax - 4]
mov eax, dword [ecx]
mov dword [edi], eax
mov edi, dword [ebp + 8]
sub ecx, edi
mov eax, dword [ebp + 0x18]
add dword [edx + 4], 4
sub eax, ecx
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov dword [edi], esi
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], esi
jmp 0x1003667a
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, edx
call fcn.10037d60
mov esi, dword [ebp - 0x14]
mov dword [edi + 4], esi
jmp 0x1003667a
mov ebx, dword [edi + 0x1c]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x10036643
mov dword [eax], esi
add dword [ebx + 4], 4
jmp 0x10036652
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.10037d60
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
test eax, eax
je 0x100366e3
lea ebx, [eax - 1]
mov dword [edi + 4], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x24]
cmp byte [eax + 0x45], 0
je 0x10036699
push dword [ebp - 0x18]
mov ecx, edi
push ebx
push esi
call fcn.10037870
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0xd3
mov ecx, edi
call fcn.100360d0
xor edx, edx
mov ecx, 0xe3
call fcn.1002bdd0
int3