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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
and al, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov cl, al
movsx eax, byte [edi + 0x44]
mov ebx, dword [edi + eax*4 + 0x78]
movzx esi, word [edi + eax*2 + 0x50]
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x28], eax
mov ax, word [edx + esi*2]
mov dh, al
mov dword [esp + 0x2c], 0
mov byte [esp + 0x13], cl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dl, ah
movzx eax, dx
movzx edx, word [ebx + 0x14]
and eax, edx
add eax, dword [ebx + 0x38]
test cl, cl
mov dword [esp + 0x14], eax
je 0x100b2a2d
cmp byte [ebx + 4], 0
je 0x100b2a1e
push eax
push ebx
call fcn.100ab130
movzx ecx, word [ebx + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x24]
movzx eax, ax
lea ecx, [eax + ecx + 2]
add edx, edx
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add esp, 8
cmp ecx, edx
jg 0x100b2a1e
mov dword [esp + 0x2c], 1
jmp 0x100b2a2d
mov eax, edi
call fcn.100aa9d0
test eax, eax
jne 0x100b2c3d
cmp byte [ebx + 4], 0
jne 0x100b2a51
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0
call fcn.100af630
add esp, 8
test eax, eax
jne 0x100b2c3d
test byte [edi + 0x40], 0x20
je 0x100b2a6d
mov ecx, dword [edi + 0x34]
mov eax, dword [esp + 0x1c]
mov edx, edi
call fcn.100aaa40
test eax, eax
jne 0x100b2c3d
cmp dword [edi + 0x48], 0
jne 0x100b2a89
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [esp + 0x34]
push edx
xor esi, esi
call fcn.100aa8b0
add esp, 8
mov esi, dword [ebx + 0x48]
call fcn.100a6ef0
test eax, eax
jne 0x100b2c3d
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
call fcn.100aff50
movzx edx, word [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push edx
push eax
mov esi, ebx
call fcn.100b03d0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x100b2c3d
cmp byte [ebx + 4], al
jne 0x100b2baa
movsx ecx, byte [edi + 0x44]
mov ebx, dword [edi + ecx*4 + 0x78]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + edx*4 + 0x7c]
mov ecx, dword [eax + 0x54]
movzx edx, word [ebx + 0x12]
mov eax, dword [ebx + 0x40]
mov esi, dword [ebx + 0x38]
mov dword [esp + 0x30], ecx
mov cx, word [eax + edx*2 - 2]
mov dh, cl
mov dl, ch
movzx ecx, word [ebx + 0x14]
movzx eax, dx
and eax, ecx
add eax, esi
add esi, 4
cmp eax, esi
mov dword [esp + 0x14], eax
jae 0x100b2b30
mov eax, 0x10192
call fcn.10106010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x4c]
push eax
push ebx
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x50]
mov esi, dword [ebx + 0x48]
movzx eax, ax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
call fcn.100a6ef0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x38]
add eax, 0xfffffffc
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
call fcn.100b0510
movzx ecx, word [ebx + 0x12]
lea eax, [esp + 0x38]
push eax
push esi
sub ecx, 1
push ecx
mov esi, ebx
call fcn.100b03d0
mov eax, dword [esp + 0x44]
add esp, 0x2c
test eax, eax
jne 0x100b2c3d
mov ebx, dword [esp + 0x24]
call fcn.100b2530
test eax, eax
jne 0x100b2c3d
movsx edx, byte [edi + 0x44]
mov esi, dword [esp + 0x28]
cmp edx, esi
jle 0x100b2bed
mov cl, byte [edi + 0x44]
movsx eax, cl
mov eax, dword [edi + eax*4 + 0x78]
sub cl, 1
test eax, eax
mov byte [edi + 0x44], cl
je 0x100b2bdc
call fcn.100abfe0
movsx ecx, byte [edi + 0x44]
cmp ecx, esi
jg 0x100b2bc3
call fcn.100b2530
test eax, eax
jne 0x100b2c3d
cmp dword [esp + 0x2c], 0
je 0x100b2c2b
mov byte [edi + 0x42], 2
movzx edx, word [ebx + 0x12]
cmp dword [esp + 0x20], edx
jl 0x100b2c1d
mov dword [edi + 0x3c], 0xffffffff
mov cx, word [ebx + 0x12]
sub cx, 1
mov word [edi + esi*2 + 0x50], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x3c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, edi
call fcn.100aec00
cmp byte [esp + 0x13], 0
je 0x100b2c3d
mov byte [edi + 0x42], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret