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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x74]
mov edx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add edx, edx
mul edx
shr edx, 1
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
nop dword [eax]
cmp dword [esi + 0x14], 0
jge 0x10081039
mov ecx, esi
call fcn.10079510
test eax, eax
jne 0x10081202
mov edx, dword [esp + 0x10]
mov al, byte [esi + 0xc]
test al, al
jne 0x10081049
cmp dword [esi + 0x14], edx
jle 0x10081202
movsx ecx, byte [ebx + 0x44]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x10081087
test al, al
je 0x10081202
lea edx, [ebx + 0x7c]
mov ecx, esi
call fcn.10080e40
mov edi, eax
test edi, edi
jne 0x10081202
mov edx, dword [esp + 0x10]
mov byte [ebx + 0x44], 1
mov dword [ebx + 0x46], eax
mov dword [ebx + 0x78], esi
mov esi, dword [ebx + 0x7c]
mov dword [ebx + 0x74], esi
jmp 0x10081020
mov edi, dword [ebx + ecx*4 + 0x74]
movzx eax, word [ebx + ecx*2 + 0x46]
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x100810b5
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x100810b5
cmp dword [edx + 0x60], 0
je 0x100810ea
call fcn.10072870
jmp 0x100810de
mov eax, dword [edx + 0x28]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008118c
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x100810d9
call fcn.10074180
jmp 0x100810de
call fcn.10073f50
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008118c
cmp dword [edi + 0x14], 0
jge 0x10081103
mov ecx, edi
call fcn.10079510
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1008118c
cmp byte [esi + 3], 0
je 0x10081140
cmp byte [esi + 0xc], 1
jne 0x10081140
mov ax, word [esi + 0x1c]
cmp ax, word [esi + 0x18]
jne 0x10081140
cmp dword [edi + 4], 1
je 0x10081140
movzx eax, word [edi + 0x18]
cmp eax, dword [esp + 0x18]
jne 0x10081140
lea eax, [esp + 0x24]
mov edx, esi
push eax
mov ecx, edi
call fcn.1007f6a0
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x1008118c
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x24]
call fcn.1006e850
movzx ecx, byte [ebx + 3]
mov edx, dword [esp + 0x18]
and ecx, 1
push ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], 1
sete cl
push ecx
push eax
mov ecx, edi
call fcn.1007f9f0
mov dword [esp + 0x18], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10081184
mov ecx, eax
call fcn.1006e960
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x48]
mov byte [esi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x100811d8
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100811df
mov ecx, edx
call fcn.1006e3b0
mov cl, byte [ebx + 0x44]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx esi, cl
lea eax, [ecx - 1]
mov byte [ebx + 0x44], al
mov esi, dword [ebx + esi*4 + 0x74]
mov dword [ebx + 0x74], esi
test edi, edi
je 0x10081020
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1008120f
call fcn.1006e960
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret