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

Disassembly:
sub esp, 0x74
mov eax, dword [0x214f450]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
push edi
xor ebp, ebp
mov edi, edx
cmp word [edi + 0x96], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
ja 0x10036ad0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10072850
add esp, 0x74
ret
mov esi, dword [edi + 0xb8]
mov eax, edi
call fcn.1003c5c0
cmp eax, ebp
mov dword [esp + 0x24], eax
jl 0x10036abb
mov edx, dword [edi + 0x40]
mov ecx, dword [edx + 4]
push 0x10000000
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x20]
push eax
push edi
push ebx
call ecx
mov edi, eax
add esp, 0x18
cmp edi, ebp
je 0x10036d98
mov ebp, dword [esp + 0x14]
push 0
push 0x1312d00
mov ecx, edi
mov edx, ebx
add ebp, 0x34
call fcn.1003ced0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x3d0]
push 0x40
push eax
mov eax, dword [edx + 8]
call eax
add esp, 0x10
cmp eax, 0x10001014
jne 0x10036cf9
mov eax, dword [edi + 0xbc]
mov esi, dword [ebp + 0x280]
sub esi, dword [eax + 0x30]
mov eax, dword [eax + 0x24]
call fcn.1003c540
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x10036cf9
mov eax, dword [ebp + 0x284]
mov ecx, dword [edi + 0x20]
push 0x32
lea edx, [esp + 0x50]
push edx
mov edx, dword [ebp + 0x280]
push eax
mov eax, dword [ecx + 0xc]
push edx
push edi
call eax
add esp, 0x14
cmp eax, 0x32
jne 0x10036cf9
push eax
lea ecx, [esp + 0x50]
push ecx
mov eax, 0xa
mov ecx, 0x2149ddc
call fcn.10006030
add esp, 8
test eax, eax
jle 0x10036bd6
mov edx, dword [esp + eax + 0x4d]
test edx, edx
jge 0x10036bd6
mov ecx, dword [edi + 0xbc]
mov esi, dword [ebp + 0x280]
sub esi, dword [ecx + 0x30]
add esi, edx
lea esi, [esi + eax + 5]
mov eax, dword [ecx + 0x24]
call fcn.1003c540
test eax, eax
jle 0x10036bd6
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x224]
mov edx, dword [edi + 0x20]
push 8
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0x220]
push ecx
mov ecx, dword [edx + 0xc]
push eax
push edi
call ecx
add esp, 0x14
cmp eax, 8
jne 0x10036cf9
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0xbc]
add esi, 0xfffffffb
adc edx, 0xffffffff
mov dword [esp + 0x3c], esi
sub esi, dword [eax + 0x30]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], edx
call fcn.1003c540
mov dword [esp + 0x30], eax
test eax, eax
jl 0x10036cf9
push 1
cdq
lea ecx, [esp + 0x17]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x5c]
push eax
call edx
add esp, 0x14
cmp eax, 1
jne 0x10036cf9
cmp byte [esp + 0x13], 0xe8
jne 0x10036cf9
mov eax, dword [esp + 0x14]
mov ebx, eax
xor esi, esi
add eax, 0x3d0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 0x40
push ebx
call edx
add esp, 8
cmp eax, 0x10001014
jne 0x10036c8d
inc esi
cmp esi, 5
jl 0x10036c6f
cmp esi, 5
jne 0x10036cf9
mov eax, dword [ebp + 0x284]
mov ebx, dword [ebp + 0x280]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xbc]
mov esi, ebx
sub esi, dword [eax + 0x30]
mov eax, dword [eax + 0x24]
call fcn.1003c5c0
cmp eax, dword [esp + 0x24]
jne 0x10036cf9
mov eax, dword [esp + 0x30]
sub ebx, dword [esp + 0x3c]
push 4
inc eax
cdq
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x60]
sub ebx, 5
push eax
mov dword [esp + 0x40], ebx
call edx
add esp, 0x14
cmp eax, 4
jne 0x10036cf9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [esp + 0x20], 1
mov eax, dword [edi + 0x34]
lea ecx, [eax + 0xe8]
mov eax, dword [ecx]
mov esi, dword [eax]
cmp eax, ecx
je 0x10036d35
lea ebx, [ebx]
mov edx, dword [eax - 0xd0]
add eax, 0xffffff08
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x34]
mov eax, esi
mov esi, dword [esi]
add ecx, 0xe8
add esp, 4
cmp eax, ecx
jne 0x10036d10
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0xc]
push edi
call eax
add esp, 4
push edi
call dword [0x212d000]
test eax, eax
jne 0x10036d98
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
lea ebp, [edi + 0x10]
cmp eax, ebp
je 0x10036d8f
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea esi, [eax - 0x2c]
mov dword [edx], ecx
push esi
mov dword [eax], eax
mov dword [eax + 4], eax
call dword [0x212d000]
test eax, eax
jne 0x10036d87
push esi
call fcn.10049df0
mov ecx, dword [esi + 0xc]
add esp, 4
push esi
call ecx
add esp, 4
mov eax, ebx
mov ebx, dword [ebx]
cmp eax, ebp
jne 0x10036d58
mov edx, dword [edi + 0xc]
push edi
call edx
add esp, 4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10072850
add esp, 0x74
ret