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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov ebx, dword [esi + 0x10]
test byte [ebx + 0x10], 0x40
je 0x100b079b
mov edi, dword [ebx + 0x44]
or eax, 0xffffffff
cmp edi, eax
cmovae edi, eax
cmp edi, 2
jb 0x100b079b
or dword [ebx + 0x90], 0x20
cmp dword [ebx + 0x14], 2
mov edx, dword [ebx + 0x50]
lea ecx, [edx + 8]
jne 0x100b0774
or edx, eax
mov ebp, edi
or esi, eax
mov eax, dword [ecx]
lea ecx, [ecx + 0x14]
cmp edx, eax
cmovbe eax, esi
mov edx, eax
mov esi, edx
sub ebp, 1
jne 0x100b0757
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
jmp 0x100b078b
lea eax, [edi + edi*4]
mov edx, dword [edx + eax*4 - 0xc]
mov eax, 0xffffffff
cmp dword [ecx], edx
cmovbe edx, dword [ecx]
cmp edx, 0xffffffff
cmovae edx, eax
push 2
push edx
push edi
push 0
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.100adc60
mov dword [esi + 0x50], 0
lea ebx, [ebp + 4]
movzx edx, byte [ebp + 2]
xor cl, cl
movzx eax, byte [ebp + 3]
shl edx, 8
add edx, eax
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
je 0x100b09c9
xor edi, edi
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov ebp, dword [edx + 0x28]
mov eax, ebp
and eax, 0xfffffffe
cmp eax, 4
movzx eax, byte [ebx + 5]
sete cl
and eax, 1
cmp ecx, eax
jne 0x100b0993
push edi
push str.start_subtable__u
push dword [esi + 8]
and ebp, 0xfffffffd
push edx
call fcn.100e3110
add esp, 0x10
test al, al
je 0x100b0993
cmp byte [esp + 0x13], 0
jne 0x100b0859
test byte [ebx + 5], 4
je 0x100b0859
mov eax, dword [esi + 0x10]
mov byte [esp + 0x13], 1
mov edi, dword [eax + 0x44]
mov edx, dword [eax + 0x58]
test edi, edi
je 0x100b0859
add edx, 0x10
mov byte [edx + 2], 2
lea edx, [edx + 0x14]
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov eax, dword [eax + 0x28]
and eax, 0xfffffffd
cmp eax, 4
setne cl
lea ecx, [ecx*2 - 1]
mov word [edx - 0x14], cx
sub edi, 1
jne 0x100b0831
cmp ebp, 5
jne 0x100b086b
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x44]
push 0
call fcn.100ef9b0
mov eax, dword [esp + 0x18]
dec eax
cmp dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
sbb edx, edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x18], ecx
mov edi, dword [eax + 0x10]
lea edi, [edi + ecx]
mov dword [esi + 0x1c], edi
and edx, ebx
je 0x100b08c0
cmp edx, ecx
jb 0x100b08b2
cmp edi, edx
jbe 0x100b08b2
mov dword [esi + 0x18], edx
sub edi, edx
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
add eax, ecx
cmp edi, eax
cmovbe eax, edi
add eax, edx
mov dword [esi + 0x1c], eax
jmp 0x100b08c0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
movzx eax, byte [ebx + 4]
cmp eax, 3
ja case.0x100b08cd.1
jmp dword [eax*4 + 0x100b09d8]
mov ecx, dword [esi + 4]
test byte [ecx + 0x80], 1
je case.0x100b08cd.1
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
push dword [ecx + 0x78]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
mov al, byte [ebx + 5]
push dword [esi + 0x10]
shr al, 2
push dword [esi + 8]
and al, 1
mov byte [esp + 0x38], al
call fcn.100df8c0
mov al, 1
jmp 0x100b0956
mov ecx, dword [esi + 4]
test byte [ecx + 0x80], 1
je case.0x100b08cd.1
push 1
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
push dword [ecx + 0x78]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
mov al, byte [ebx + 5]
push dword [esi + 0x10]
shr al, 2
push dword [esi + 8]
and al, 1
mov byte [esp + 0x48], al
call fcn.100e0660
mov al, 1
jmp 0x100b0956
xor al, al
or byte [esp + 0x12], al
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x18], ecx
mov eax, dword [eax + 0x10]
add eax, ecx
mov dword [esi + 0x1c], eax
cmp ebp, 5
jne 0x100b097d
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x44]
push 0
call fcn.100ef9b0
push dword [esi + 0x50]
push str.end_subtable__u
push dword [esi + 8]
push dword [esi + 0x10]
call fcn.100e3110
add esp, 0x10
movzx edx, byte [ebx + 2]
movzx ecx, byte [ebx + 3]
mov eax, dword [esp + 0x14]
add ebx, ecx
inc dword [esi + 0x50]
inc eax
mov edi, dword [esi + 0x50]
shl edx, 8
add ebx, edx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jb 0x100b07d0
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
pop edi
pop esi
pop ebp
mov al, cl
pop ebx
add esp, 0x2c
ret 4