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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100de364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [0x10155d20], 0
mov eax, 0x10155d40
nop
cmp byte [eax - 8], 0
mov byte [eax - 7], 0
je 0x1008b9c7
mov ecx, dword [eax - 4]
cmp ecx, dword [eax]
jle 0x1008b9c7
mov dword [eax], ecx
mov byte [eax - 7], 1
add eax, 0xc
cmp eax, 0x10156928
jle 0x1008b9b0
mov ecx, dword [0x10155d18]
mov eax, dword [0x10155d14]
cmp eax, ecx
je 0x1008ba5a
mov dword [ebp - 0x1c], eax
mov edi, dword [eax]
test edi, edi
je 0x1008ba46
mov ebx, dword [edi + 0x28]
mov edi, dword [edi + 0x24]
cmp edi, ebx
je 0x1008ba46
mov ecx, dword [edi]
test ecx, ecx
je 0x1008ba36
mov esi, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, esi
je 0x1008ba36
mov eax, dword [ecx]
test eax, eax
je 0x1008ba2f
cmp dword [eax + 0x54], 3
jne 0x1008ba2f
mov edx, dword [eax + 0x8c]
test edx, edx
je 0x1008ba2f
mov eax, dword [eax + 0x6c]
cmp eax, 0xffffffff
je 0x1008ba2f
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x10155d39]
test al, al
jne 0x1008ba52
add ecx, 4
cmp ecx, esi
jne 0x1008ba03
add edi, 4
cmp edi, ebx
jne 0x1008b9f3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x10155d18]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jne 0x1008b9e3
jmp 0x1008ba5a
call edx
mov ecx, dword [0x10155d18]
push dword [ebp - 0x24]
mov eax, ecx
mov edx, ecx
sub eax, dword [0x10155d14]
mov ecx, dword [0x10155d14]
sar eax, 2
push eax
call fcn.1008c1f0
mov ebx, dword [0x10155d18]
add esp, 8
mov edx, dword [0x10155d14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
cmp edx, ebx
je 0x1008bc0d
mov ecx, dword [edx]
test ecx, ecx
je 0x1008bae4
mov eax, dword [ecx + 0xc]
mov esi, ecx
cmp eax, 0xffffffff
je 0x1008babb
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x10155d39]
test al, al
je 0x1008babb
cmp byte [ecx], 0
sete al
mov byte [ecx], al
mov esi, dword [edx]
cmp byte [0x10155d20], 0
jne 0x1008bad0
cmp byte [esi], 0
je 0x1008bad0
mov byte [0x10155d20], 1
mov eax, dword [edx]
cmp byte [eax], 0
jne 0x1008bae4
cmp dword [eax + 0x34], 0
je 0x1008bae4
mov dword [eax + 0x34], 0
add edx, 4
cmp edx, ebx
jne 0x1008ba93
mov ebx, dword [0x10155d18]
mov edx, dword [0x10155d14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
cmp edx, ebx
je 0x1008bc0d
mov ecx, dword [edx]
test ecx, ecx
je 0x1008bbff
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x1008bbff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x1008bbff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x14
mov eax, dword [eax]
lea esi, [ebp - 8]
mov dword [ebp - 8], 0
cmp eax, dword [esi]
jne 0x1008bb4a
xorps xmm0, xmm0
movq qword [ecx + 0x24], xmm0
jmp 0x1008bb58
mov dword [ecx + 0x24], 0x14
mov dword [ecx + 0x28], 0x14
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
cmp edi, ecx
je 0x1008bbff
nop
mov eax, dword [edi]
mov byte [eax + 0x68], 1
mov esi, dword [edi]
mov ebx, dword [esi + 0x5c]
mov eax, ebx
mov esi, dword [esi + 0x58]
sub eax, esi
test eax, 0xfffffffc
je 0x1008bba8
cmp esi, ebx
je 0x1008bba8
nop dword [eax]
mov eax, dword [esi]
call eax
test al, al
jne 0x1008bb9e
mov eax, dword [edi]
mov byte [eax + 0x68], 0
add esi, 4
cmp esi, ebx
jne 0x1008bb90
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi]
cmp byte [ecx + 0x68], 0
je 0x1008bbed
cmp byte [ecx + 0x69], 0
jne 0x1008bbc3
mov eax, dword [edx]
mov ecx, dword [ecx + 0x18]
mov eax, dword [eax + 0x30]
add dword [eax + ecx*4 + 0x24], 0xfffffffd
mov esi, dword [ebp - 0x18]
mov edx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4 + 0x24]
mov dword [edx + 8], eax
mov edx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x30]
lea ecx, [eax + ecx*4]
mov eax, dword [edx + 0x14]
add eax, 7
add dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x18]
add edi, 4
cmp edi, dword [ebp - 0x20]
jne 0x1008bb70
mov ebx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x18], edx
cmp edx, ebx
jne 0x1008bb05
mov al, byte [0x10155d45]
mov ecx, dword [0x10196c78]
mov byte [ebp - 0x11], al
mov al, byte [0x10155d44]
mov byte [ebp - 9], al
mov eax, dword [ecx]
push 0x1015693c
push 0x10156938
mov eax, dword [eax + 0xe0]
call eax
mov ecx, dword [0x10156938]
cmp dword [0x1014268c], ecx
mov al, byte [ebp - 9]
cmovl ecx, dword [0x1014268c]
xor edx, edx
test ecx, ecx
cmovg edx, ecx
mov ecx, dword [0x1015693c]
cmp dword [0x10142690], ecx
mov dword [0x10156938], edx
cmovl ecx, dword [0x10142690]
xor ebx, ebx
test ecx, ecx
cmovg ebx, ecx
mov ecx, dword [0x10155d24]
mov dword [0x1015693c], ebx
test ecx, ecx
je 0x1008bc92
test al, al
jne 0x1008bcf7
mov dword [0x10155d24], 0
cmp byte [ebp - 0x11], 0
jne 0x1008bca0
test al, al
je 0x1008bd36
mov esi, dword [0x10155d14]
cmp esi, dword [0x10155d18]
je 0x1008bd36
mov eax, dword [esi]
test eax, eax
je 0x1008bcea
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x20], edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
cmp edx, edi
jle 0x1008bcea
cmp ebx, ecx
jle 0x1008bcea
mov eax, dword [ebp - 0x28]
add eax, edi
cmp edx, eax
jge 0x1008bcea
mov eax, dword [ebp - 0x38]
add eax, ecx
cmp ebx, eax
jl 0x1008bd2b
add esi, 4
cmp esi, dword [0x10155d18]
jne 0x1008bcb2
jmp 0x1008bd36
cmp byte [ebp - 0x11], 0
jne 0x1008bca0
sub edx, dword [0x10155d28]
mov dword [ecx + 0x10], edx
mov ecx, dword [0x1015693c]
mov eax, dword [0x10155d24]
sub ecx, dword [0x10155d2c]
mov dword [eax + 0x14], ecx
mov ebx, dword [0x1015693c]
mov edx, dword [0x10156938]
jmp 0x1008bca0
call dword [0x10156fac]
mov ecx, dword [esi]
mov dword [ecx + 0x20], eax
mov edx, dword [0x10155d18]
mov eax, edx
mov ecx, dword [0x10155d14]
sub eax, ecx
push dword [ebp - 0x24]
sar eax, 2
push eax
call fcn.1008c1f0
mov ecx, dword [0x10155d18]
add esp, 8
mov ebx, dword [0x10155d14]
mov dword [ebp - 0x34], ecx
cmp ebx, ecx
je 0x1008c194
mov edx, dword [0x1015693c]
mov eax, ecx
mov esi, dword [0x10156938]
nop word [eax + eax]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1008c17d
cmp byte [ecx], 0
je 0x1008c17d
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 9], 0
lea edi, [eax + 7]
mov dword [ebp - 0x20], edi
mov edi, dword [ecx + 0x14]
add edi, 7
mov dword [ebp - 0x1c], edi
mov edi, dword [ecx + 0x18]
add edi, 0xfffffff4
mov dword [ebp - 0x28], edi
mov edi, dword [ecx + 0x1c]
add edi, 0xfffffff4
mov dword [ebp - 0x2c], edi
lea edi, [eax + 0x14]
lea eax, [edi + 0x64]
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x14]
add eax, 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x18]
add eax, 0xffffff60
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x1c]
add eax, 0xffffffd8
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x10], eax
je 0x1008bff8
mov eax, dword [ebp - 0x3c]
cmp esi, eax
jle 0x1008bfdf
cmp edx, dword [ecx + 0x14]
jle 0x1008bfdf
add eax, dword [ecx + 0x18]
mov edx, dword [0x1015693c]
cmp esi, eax
jge 0x1008bfdf
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 0x1c]
mov esi, dword [0x10156938]
cmp edx, eax
jge 0x1008bfdf
mov eax, dword [ebp - 0x20]
cmp esi, eax
jle 0x1008bfae
cmp edx, dword [ebp - 0x1c]
jle 0x1008bfae
add eax, dword [ebp - 0x28]
cmp esi, eax
jge 0x1008bfae
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x2c]
cmp edx, eax
jge 0x1008bfae
cmp esi, edi
jle 0x1008bf83
cmp edx, dword [ebp - 0x18]
jle 0x1008bf83
lea eax, [edi + 0x64]
cmp esi, eax
mov eax, dword [ebp - 0x10]
jge 0x1008bf86
mov edi, dword [ebp - 0x18]
add edi, eax
cmp edx, edi
jge 0x1008bf86
mov eax, dword [ecx + 0x24]
cmp eax, dword [ecx + 0x28]
je 0x1008bf8e
cmp dword [ecx + 0x34], 0
je 0x1008beab
mov dword [ecx + 0x34], 0
mov edx, dword [0x1015693c]
mov esi, dword [0x10156938]
mov ecx, dword [ebx]
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
sar eax, 2
test eax, eax
je 0x1008bff8
mov eax, dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp dword [0x101554c8], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x24]
lea eax, [eax + edx*4]
mov edx, dword [0x1015693c]
mov dword [ebp - 0x28], eax
jne 0x1008bf20
mov eax, dword [ebp - 0x3c]
add eax, 0x14
cmp esi, eax
jle 0x1008bf60
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jle 0x1008bf60
cmp esi, dword [ebp - 0x38]
jge 0x1008bf60
add eax, 0x10
cmp edx, eax
jge 0x1008bf60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebx]
mov edx, dword [0x1015693c]
mov esi, dword [0x10156938]
jmp 0x1008bf23
mov ecx, dword [ebp - 0x20]
cmp dword [0x101554c8], 1
jne 0x1008bf60
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x1015693c]
add eax, 0x14
cmp esi, eax
jle 0x1008bf60
cmp edx, edi
jle 0x1008bf60
cmp esi, dword [ebp - 0x38]
jge 0x1008bf60
lea eax, [edi + 0x3c]
cmp edx, eax
jge 0x1008bf60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx + 0x30], eax
mov edx, dword [0x1015693c]
mov esi, dword [0x10156938]
mov ecx, dword [ebx]
add edi, 0x3c
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
sar eax, 2
cmp dword [ebp - 0x10], eax
jb 0x1008bed0
jmp 0x1008bff8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea edi, [ecx + eax]
jmp 0x1008bf91
mov ecx, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x30]
jle 0x1008bff8
cmp edx, ecx
jle 0x1008bff8
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
cmp esi, eax
jge 0x1008bff8
cmp edx, edi
jge 0x1008bff8
mov byte [ebp - 9], 1
jmp 0x1008bff8
mov dword [0x10155d24], ecx
mov ecx, esi
mov eax, dword [ebx]
sub ecx, dword [eax + 0x10]
mov dword [0x10155d28], ecx
mov ecx, edx
mov eax, dword [ebx]
sub ecx, dword [eax + 0x14]
mov dword [0x10155d2c], ecx
mov eax, dword [ebx]
cmp dword [eax + 0x34], 0
je 0x1008bff8
mov dword [eax + 0x34], 0
jmp 0x1008bfec
cmp dword [ecx + 0x34], 0
je 0x1008bff8
mov dword [ecx + 0x34], 0
mov esi, dword [0x10156938]
mov edx, dword [0x1015693c]
mov edi, dword [ebx]
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x1008c084
cmp byte [ecx + 0x68], 0
je 0x1008c084
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebx]
mov edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + 8]
add edx, dword [ecx + 4]
add eax, dword [ebp - 0x18]
cmp byte [ebp - 9], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
je 0x1008c078
test byte [ecx + 0x50], 2
je 0x1008c078
mov esi, dword [0x10156938]
cmp esi, edx
mov edx, dword [0x1015693c]
jle 0x1008c084
cmp edx, eax
jle 0x1008c084
mov eax, dword [ebp - 0x24]
add eax, dword [ecx + 0xc]
cmp esi, eax
jge 0x1008c084
mov eax, dword [ebp - 0x2c]
add eax, dword [ecx + 0x10]
cmp edx, eax
jge 0x1008c084
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebx]
mov eax, dword [edi + 0x34]
test byte [eax + 0x50], 0x10
je 0x1008c074
mov dword [edi + 0x34], 0
mov edi, dword [ebx]
mov byte [ebp - 9], 0
mov esi, dword [0x10156938]
mov edx, dword [0x1015693c]
mov edi, dword [edi + 0x30]
test edi, edi
je 0x1008c159
mov ecx, dword [edi + 0x1c]
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x10], ecx
cmp edi, ecx
je 0x1008c159
mov eax, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1008c14e
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1008c0bd
cmp ecx, eax
je 0x1008c14b
cmp byte [ecx + 0x68], 0
je 0x1008c14b
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx + 8]
add edx, dword [ecx + 4]
add eax, dword [ebp - 0x18]
cmp byte [ebp - 9], 0
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
je 0x1008c13f
test byte [ecx + 0x50], 2
je 0x1008c13f
mov esi, dword [0x10156938]
cmp esi, edx
mov edx, dword [0x1015693c]
jle 0x1008c14b
cmp edx, eax
jle 0x1008c14b
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x1008c14b
mov eax, dword [ebp - 0x20]
add eax, dword [ecx + 0x10]
cmp edx, eax
jge 0x1008c14b
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [edi]
mov eax, dword [ebx]
mov byte [ebp - 9], 0
test byte [ecx + 0x50], 4
je 0x1008c132
mov dword [eax + 0x34], ecx
jmp 0x1008c13f
cmp dword [eax + 0x34], 0
je 0x1008c13f
mov dword [eax + 0x34], 0
mov edx, dword [0x1015693c]
mov esi, dword [0x10156938]
mov eax, dword [ebp - 0x10]
add edi, 4
cmp edi, eax
jne 0x1008c0a2
cmp byte [ebp - 9], 0
je 0x1008c17a
mov eax, dword [ebx]
cmp dword [eax + 0x34], 0
je 0x1008c17a
mov dword [eax + 0x34], 0
mov edx, dword [0x1015693c]
mov esi, dword [0x10156938]
mov eax, dword [ebp - 0x34]
add ebx, 4
cmp ebx, eax
jne 0x1008bd80
mov ecx, dword [0x10155d18]
mov ebx, dword [0x10155d14]
push dword [ebp - 0x24]
mov eax, ecx
mov edx, ecx
sub eax, ebx
mov ecx, ebx
sar eax, 2
push eax
call fcn.1008c3f0
mov edi, dword [0x10155d18]
add esp, 8
mov esi, dword [0x10155d14]
cmp esi, edi
je 0x1008c1d2
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1008c1cb
call fcn.100861b0
add esi, 4
cmp esi, edi
jne 0x1008c1c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bc566
mov esp, ebp
pop ebp
ret