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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1029912c]
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 + 0x18], edx
mov dword [esp + 0x10], ecx
nop dword [eax]
movsx ecx, byte [ebx + 0x44]
mov al, byte [esi + 0xc]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100fb3a1
test al, al
je 0x100fb513
lea edx, [ebx + 0x7c]
mov ecx, esi
call fcn.100fb180
mov edi, eax
test edi, edi
jne 0x100fb513
mov edx, dword [esp + 0x18]
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 0x100fb360
test al, al
jne 0x100fb3b1
movzx eax, word [esi + 0x14]
cmp eax, edx
jle 0x100fb513
mov edi, dword [ebx + ecx*4 + 0x74]
movzx eax, word [ebx + ecx*2 + 0x46]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x100fb3df
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x100fb3df
cmp dword [edx + 0x60], 0
je 0x100fb414
call fcn.100ecf70
jmp 0x100fb408
mov eax, dword [edx + 0x28]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100fb49d
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x100fb403
call fcn.100ee7d0
jmp 0x100fb408
call fcn.100ee5b0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100fb49d
cmp byte [esi + 3], 0
je 0x100fb451
cmp byte [esi + 0xc], 1
jne 0x100fb451
mov ax, word [esi + 0x1a]
cmp ax, word [esi + 0x16]
jne 0x100fb451
cmp dword [edi + 4], 1
je 0x100fb451
movzx eax, word [edi + 0x16]
cmp eax, dword [esp + 0x14]
jne 0x100fb451
lea eax, [esp + 0x24]
mov edx, esi
push eax
mov ecx, edi
call fcn.100f9a10
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x100fb49d
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x24]
call fcn.100e9010
movzx ecx, byte [ebx + 3]
mov edx, dword [esp + 0x14]
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.100f9d60
mov dword [esp + 0x18], eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100fb495
mov ecx, eax
call fcn.100e9120
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x48]
mov byte [esi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x100fb4e9
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.101d5d50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100fb4f0
mov ecx, edx
call fcn.100e8b70
mov cl, byte [ebx + 0x44]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
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 0x100fb360
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100fb520
call fcn.100e9120
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret