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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, eax
cmp byte [edi + 0x42], 4
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
jne 0x100bcbf3
mov eax, dword [edi + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test byte [edi + 0x40], 0x20
je 0x100bcc0b
mov ecx, dword [edi + 0x34]
mov edx, edi
call fcn.100b51c0
test eax, eax
jne 0x100bcdd9
cmp dword [edi + 0x48], 0
mov ebp, dword [esp + 0x30]
jne 0x100bcc8a
mov eax, dword [esp + 0x2c]
push ebp
push eax
xor esi, esi
mov ecx, ebx
call fcn.100b5070
add esp, 8
test byte [edi + 0x40], 2
je 0x100bcc5c
test ebp, ebp
jl 0x100bcc5c
jg 0x100bcc39
cmp dword [esp + 0x2c], esi
jbe 0x100bcc5c
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x10]
sub eax, 1
mov ecx, ebp
sbb ecx, esi
cmp edx, eax
jne 0x100bcc5c
mov eax, dword [edi + 0x14]
cmp eax, ecx
jne 0x100bcc5c
mov dword [esp + 0x18], 0xffffffff
jmp 0x100bccb4
cmp dword [esp + 0x44], esi
jne 0x100bccb4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebp
push eax
push 0
mov ebx, edi
call fcn.100b9510
add esp, 0x14
test eax, eax
je 0x100bccb4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test esi, esi
jne 0x100bccb4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push ebp
push edx
push eax
lea ecx, [esp + 0x28]
mov edx, edi
call fcn.100b52a0
add esp, 0x10
test eax, eax
jne 0x100bcdd9
movsx ecx, byte [edi + 0x44]
mov ebx, dword [edi + ecx*4 + 0x78]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x50]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
push ebp
push ecx
push edx
push esi
mov eax, ebx
mov dword [esp + 0x3c], esi
call fcn.100ba6d0
add esp, 0x20
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100bcdd9
movsx eax, byte [edi + 0x44]
mov ecx, dword [esp + 0x18]
test ecx, ecx
movzx ebp, word [edi + eax*2 + 0x50]
lea eax, [edi + eax*2 + 0x50]
jne 0x100bcd7e
mov esi, dword [ebx + 0x48]
call fcn.100b1680
test eax, eax
jne 0x100bcdd9
mov ecx, dword [ebx + 0x40]
mov dx, word [ecx + ebp*2]
movzx ecx, word [ebx + 0x14]
mov ah, dl
mov al, dh
movzx eax, ax
and eax, ecx
add eax, dword [ebx + 0x38]
cmp byte [ebx + 4], 0
jne 0x100bcd47
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
call fcn.100ba540
movzx ecx, word [esp + 0x48]
add esp, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push ebp
mov esi, ebx
call fcn.100ba9c0
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x100bcdd9
mov esi, dword [esp + 0x1c]
jmp 0x100bcd94
jge 0x100bcd94
cmp word [ebx + 0x12], 0
jbe 0x100bcd94
add word [eax], 1
movsx edx, byte [edi + 0x44]
movzx ebp, word [edi + edx*2 + 0x50]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push esi
push ebp
push ebx
xor eax, eax
call fcn.100bab10
mov eax, dword [esp + 0x2c]
add esp, 0x18
test eax, eax
mov word [edi + 0x22], 0
jne 0x100bcdd9
cmp byte [ebx + 1], al
je 0x100bcdd9
and byte [edi + 0x40], 0xfd
call fcn.100bc9f0
movsx edx, byte [edi + 0x44]
mov ecx, dword [edi + edx*4 + 0x78]
mov byte [ecx + 1], 0
mov byte [edi + 0x42], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret