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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
push edi
push 0x18
xor ebx, ebx
xor edi, edi
pop edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
call fcn.001bbe79
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [eax], 3
cmp dword [esi + 0x6c], ebx
je 0x1bb992
cmp dword [esi + 0x60], ebx
jne 0x1bb992
cmp dword [esi + 0x50], ebx
jne 0x1bb810
cmp dword [esi + 0x68], ebx
je 0x1bb992
cmp dword [esi + 0x74], ebx
je 0x1bb992
mov dword [eax], 2
jmp 0x1bbe22
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x24]
call dword [esi + 0x1c]
cmp eax, ebx
jl 0x1bbe24
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x1bb992
lea ecx, [esi + 0x14c]
mov edx, dword [ecx]
mov dword [ecx], ebx
mov dword [esi + 0x140], edx
lea ecx, [esi + 0x15c]
mov edx, dword [ecx]
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x1c]
add dword [esi + 0x58], ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x6c], ebx
adc dword [esi + 0x5c], ebx
add eax, dword [esi + 0x30]
mov dword [esi + 0x150], edx
mov dword [ebp - 4], eax
mov dword [esi + 0x30], ebx
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x50], ecx
mov dword [ebp - 4], eax
mov dword [esi + 0x70], eax
mov ecx, dword [eax + 4]
add dword [esi + 0xc0], ecx
mov ecx, dword [eax]
and ecx, 0x7fffff
cmp dword [esi + 0x48], ebx
lea ecx, [eax + ecx + 8]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], ebx
jbe 0x1bb992
add eax, 8
mov dword [ebp - 0xc], eax
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x138]
shl edi, 2
cmp dword [edi + eax], ebx
mov eax, dword [esi + 0x13c]
je 0x1bb949
cmp dword [edi + eax], ebx
jne 0x1bb8e1
mov eax, dword [esi + 0x134]
mov eax, dword [edi + eax]
push 2
push eax
call fcn.0019b434
cmp eax, ebx
jl 0x1bbe24
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x150]
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x140]
add eax, edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x130]
jne 0x1bb91b
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x2c], eax
jmp 0x1bb91e
mov dword [ebp - 0x2c], ebx
mov eax, dword [esi + 0x134]
mov eax, dword [edi + eax]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x1bbe24
mov eax, dword [esi + 0x13c]
mov dword [edi + eax], 1
jmp 0x1bb96e
cmp dword [edi + eax], ebx
je 0x1bb96e
mov eax, dword [esi + 0x134]
mov eax, dword [edi + eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x1bbe24
mov eax, dword [esi + 0x13c]
mov dword [edi + eax], ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add dword [ebp - 0xc], 4
add eax, 3
and eax, 0xfffffffc
add dword [ebp - 4], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x48]
jb 0x1bb8a1
mov edi, dword [ebp - 8]
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x1bba7a
cmp dword [esi + 0x64], ebx
jne 0x1bba7a
cmp dword [esi + 0x50], ebx
mov dword [esi + 0x64], eax
lea eax, [esi + 0x140]
mov ecx, dword [eax]
mov dword [eax], ebx
lea eax, [esi + 0x150]
mov dword [esi + 0x144], ecx
mov ecx, dword [eax]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x154], ecx
mov dword [eax], ebx
je 0x1bb9da
cmp byte [esi + 0x78], bl
jne 0x1bb9da
xor eax, eax
jmp 0x1bb9dd
xor eax, eax
inc eax
cmp eax, ebx
mov dword [esi + 0xac], eax
je 0x1bb9f3
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x48]
lea eax, [ecx + eax*4 + 8]
mov dword [ebp - 4], eax
test byte [ecx + 3], 0x80
je 0x1bba6a
mov dl, byte [eax]
and dl, 1
mov byte [esi + 0xa0], dl
mov edx, dword [eax]
shr edx, 1
and dl, 1
mov byte [esi + 0xa1], dl
mov edx, dword [eax]
shr edx, 2
and dl, 1
mov byte [esi + 0xa2], dl
mov edx, dword [eax]
shr edx, 3
and dl, 1
mov byte [esi + 0xa3], dl
mov edx, dword [eax]
shr edx, 4
and dl, 1
mov byte [esi + 0xa4], dl
mov edx, dword [eax]
shr edx, 5
and dl, 1
mov byte [esi + 0xa5], dl
mov edx, dword [eax]
shr edx, 6
and edx, 7
add eax, 4
mov dword [esi + 0xa8], edx
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov eax, dword [ecx]
shr eax, 0x17
and eax, 0xff
mov dword [esi + 0x3c], eax
cmp dword [esi + 0xf8], 0xffffffff
jne 0x1bbacb
cmp dword [esi + 0x3c], ebx
je 0x1bbacb
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, eax
shr eax, 0x11
add eax, dword [esi + 0xe4]
and edx, 0x1ffff
lea edx, [edx*4 + 4]
lea edi, [ecx + 4]
push esi
mov dword [ebp + 8], edx
mov dword [esi + 0xf8], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
call fcn.001be3fd
mov eax, dword [ebp + 8]
add edi, eax
dec dword [esi + 0x3c]
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0016b6a0
mov eax, dword [ebp - 0x20]
sub eax, dword [esi + 0xb8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xf8]
cmp eax, 0xffffffff
je 0x1bbba0
cmp dword [esi + 0xe8], ebx
jne 0x1bbb48
mov ecx, dword [esi + 0xb0]
or ecx, dword [esi + 0xb4]
je 0x1bbb40
mov edi, dword [esi + 0xc8]
add edi, eax
mov ecx, 0x10000
mov eax, edi
mul ecx
push ebx
push dword [esi + 0xbc]
add eax, 0xffff
adc edx, ebx
push edx
push eax
mov dword [ebp - 8], edi
call fcn.0015c4e0
cmp eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
ja 0x1bbb40
mov dword [esi + 0xe8], 1
cmp dword [esi + 0xe8], ebx
je 0x1bbba8
lea ecx, [esi + 0xfc]
mov edi, dword [ecx]
lea eax, [esi + 0xec]
mov edx, dword [eax]
mov dword [eax], edi
mov dword [ecx], edx
lea eax, [esi + 0xf0]
mov edx, dword [eax]
lea ecx, [esi + 0x100]
mov edi, dword [ecx]
mov dword [eax], edi
mov dword [ecx], edx
lea eax, [esi + 0xf4]
mov edx, dword [eax]
lea ecx, [esi + 0x104]
mov edi, dword [ecx]
mov dword [eax], edi
mov eax, dword [esi + 0xf8]
or dword [esi + 0xf8], 0xffffffff
mov edi, dword [ebp - 8]
mov dword [ecx], edx
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], ebx
cmp dword [esi + 0xe8], ebx
jne 0x1bbbeb
mov eax, dword [esi + 0xb0]
or eax, dword [esi + 0xb4]
je 0x1bbbeb
mov edi, dword [esi + 0xe4]
add edi, dword [esi + 0xc8]
mov ecx, 0x10000
mov eax, edi
mul ecx
push ebx
push dword [esi + 0xbc]
add eax, 0xffff
adc edx, ebx
push edx
push eax
mov dword [ebp - 8], edi
call fcn.0015c4e0
cmp eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jbe 0x1bbbfd
cmp dword [esi + 0xf8], 0xffffffff
jne 0x1bbbfd
cmp dword [esi + 0x3c], ebx
jne 0x1bba7a
lea eax, [esi + 0xb0]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x1bbc3f
cmp dword [esi + 0x64], ebx
je 0x1bbc3f
cmp dword [esi + 0xf8], 0xffffffff
jne 0x1bbc1d
cmp dword [esi + 0x3c], ebx
jne 0x1bbc3f
cmp dword [ebp - 0x24], 1
je 0x1bbc3f
lea eax, [esi + 0xb0]
push eax
call fcn.000d2420
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xb8], eax
mov dword [ebp - 0x10], 1
lea eax, [esi + 0xb0]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x1bbcc9
cmp dword [ebp - 0x10], ebx
je 0x1bbc84
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0019c600
cmp eax, ebx
jl 0x1bbe24
push dword [ebp - 0x18]
call fcn.0019b2f3
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0019a4bb
cmp dword [ebp - 0x10], ebx
jge 0x1bbc84
mov eax, dword [ebp - 0x10]
jmp 0x1bbe24
cmp dword [esi + 0xe8], ebx
jne 0x1bbcc9
cmp dword [ebp + 0xc], ebx
je 0x1bbcc9
cmp dword [esi + 0x40], ebx
je 0x1bbcc9
test byte [esi + 0x18], 1
jne 0x1bbca4
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x14], eax
ja 0x1bbcc9
push dword [ebp + 0xc]
push esi
call fcn.001bc94d
mov eax, dword [ebp + 0x14]
cmp eax, ebx
mov dword [esi + 0xe8], 1
je 0x1bbcc0
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
cmp dword [esi + 0x3c], ebx
jne 0x1bbd17
mov eax, dword [esi + 0x64]
cmp eax, ebx
je 0x1bbd17
cmp dword [esi + 0x68], ebx
jne 0x1bbd20
cmp dword [esi + 0xac], ebx
mov dword [esi + 0x68], eax
lea eax, [esi + 0x144]
mov ecx, dword [eax]
mov dword [eax], ebx
lea eax, [esi + 0x154]
mov dword [esi + 0x148], ecx
mov ecx, dword [eax]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x158], ecx
mov dword [eax], ebx
mov dword [esi + 0x74], ebx
je 0x1bbd17
mov eax, dword [esi + 0xc4]
mov dword [esi + 0xf8], eax
cmp dword [esi + 0x68], ebx
je 0x1bbe18
cmp dword [esi + 0x74], ebx
jne 0x1bbd5d
call fcn.0019b451
xor eax, eax
cmp dword [esi + 0x48], ebx
mov dword [esi + 0x74], 1
jbe 0x1bbd54
mov ecx, dword [esi + 0x148]
cmp dword [ecx], 0x8000000a
je 0x1bbd51
inc eax
add ecx, 4
cmp eax, dword [esi + 0x48]
jb 0x1bbd3e
jmp 0x1bbd54
mov dword [esi + 0x74], ebx
cmp dword [esi + 0x74], ebx
je 0x1bbe18
cmp dword [esi + 0x6c], ebx
jne 0x1bbe18
cmp dword [esi + 0x50], ebx
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
lea eax, [esi + 0x148]
mov ecx, dword [eax]
mov dword [eax], ebx
lea eax, [esi + 0x158]
mov dword [esi + 0x14c], ecx
mov ecx, dword [eax]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x15c], ecx
mov dword [eax], ebx
je 0x1bbd99
cmp byte [esi + 0x78], bl
je 0x1bbdeb
test byte [esi + 0x18], 2
je 0x1bbdbd
cmp byte [esi + 0x79], bl
jne 0x1bbdbd
cmp byte [esi + 0x78], bl
jne 0x1bbdbd
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x30], eax
jmp 0x1bbdeb
xor edi, edi
cmp dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
jbe 0x1bbdeb
mov eax, dword [esi + 0x138]
cmp dword [eax + edi*4], ebx
je 0x1bbde5
mov eax, dword [esi + 0x134]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x1bbe24
inc edi
cmp edi, dword [esi + 0x48]
jb 0x1bbdc7
cmp dword [esi + 0x34], ebx
je 0x1bbe05
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x30], eax
push dword [esi + 0x50]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x24]
call dword [esi + 0x20]
cmp eax, ebx
jl 0x1bbe24
mov eax, dword [ebp + 0x10]
cmp dword [eax], 3
jne 0x1bbe22
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10