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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
je 0x1008b917
mov dword [eax], ebx
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x24]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x20]
cmp edx, esi
ja 0x1008bd5b
jb 0x1008b938
cmp ecx, eax
jae 0x1008bd5b
sub eax, ecx
sbb esi, edx
cmp ebx, esi
jb 0x1008b950
ja 0x1008b949
mov esi, dword [ebp + 0x10]
cmp esi, eax
jbe 0x1008b953
mov esi, eax
mov dword [ebp + 0x10], esi
jmp 0x1008b953
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1008bd5b
mov dword [ebp - 4], ebx
mov ebx, dword [edi + 0x6c]
mov eax, ebx
shr eax, 1
je 0x1008b993
mov edi, dword [edi + 0x68]
mov esi, dword [edi + eax*4]
cmp edx, dword [esi + 0x3c]
ja 0x1008b980
jb 0x1008b979
cmp ecx, dword [esi + 0x38]
jae 0x1008b980
mov esi, dword [ebp - 4]
mov ebx, eax
jmp 0x1008b985
mov esi, eax
mov dword [ebp - 4], esi
lea eax, [ebx + esi]
shr eax, 1
cmp eax, esi
jne 0x1008b96a
mov edi, dword [ebp + 8]
jmp 0x1008b996
mov esi, dword [ebp - 4]
mov eax, dword [edi + 0x68]
mov ebx, dword [eax + esi*4]
sub ecx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x44]
sbb edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
cmp edx, esi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x10]
ja 0x1008bd92
jb 0x1008b9c0
cmp ecx, eax
jae 0x1008bd92
sub eax, ecx
sbb dword [ebp - 8], edx
xor edi, edi
cmp edi, dword [ebp - 8]
jb 0x1008b9d7
ja 0x1008b9d2
cmp esi, eax
jbe 0x1008b9d7
mov esi, eax
mov dword [ebp + 0x10], esi
mov edi, dword [ebx + 0x34]
cmp edx, edi
mov eax, dword [ebx + 0x30]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
jb 0x1008b9f9
ja 0x1008b9ed
cmp ecx, eax
jb 0x1008b9f9
mov byte [edi + 0x32], 1
xor eax, eax
inc eax
jmp 0x1008bd5d
sub eax, ecx
sbb dword [ebp - 8], edx
xor edi, edi
cmp edi, dword [ebp - 8]
mov edi, dword [ebp + 8]
jb 0x1008ba13
ja 0x1008ba0e
cmp esi, eax
jbe 0x1008ba13
mov esi, eax
mov dword [ebp + 0x10], esi
xor eax, eax
cmp byte [ebx + 4], al
jne 0x1008bd64
cmp byte [ebx], al
je 0x1008bd64
cmp dword [ebx + 0x1c], eax
je 0x1008bd64
cmp byte [ebx + 3], al
jne 0x1008bd64
cmp byte [ebx + 5], al
je 0x1008baae
mov eax, dword [ebx + 0x48]
add eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 0x10]
adc eax, edx
cmp ecx, dword [ebx + 0x20]
jne 0x1008ba57
cmp eax, dword [ebx + 0x24]
je 0x1008ba68
push eax
push ecx
mov ecx, ebx
call fcn.1008d01b
test eax, eax
jne 0x1008bd5d
xor eax, eax
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x1c]
push edx
push esi
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, eax
test edx, edx
jne 0x1008ba8f
test ecx, ecx
jne 0x1008ba8f
mov byte [edi + 0x30], 1
add dword [ebx + 0x20], ecx
push 0
pop eax
adc dword [ebx + 0x24], eax
add dword [edi + 0x10], ecx
adc dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008baa7
mov dword [eax], ecx
mov eax, edx
jmp 0x1008bd5d
mov eax, dword [edi + 0x48]
mov esi, dword [edi + 0x10]
sub esi, dword [ebx + 0x38]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx + 8]
sbb edx, dword [ebx + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x10], ecx
call fcn.100d2f30
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
mov dword [ebp - 8], edx
shl eax, cl
mov ecx, eax
mov dword [ebp - 0x14], eax
lea edx, [eax - 1]
mov eax, dword [ebp - 4]
and edx, esi
sub ecx, edx
cmp dword [ebp + 0x10], ecx
cmovbe ecx, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], esi
jne 0x1008bb0f
cmp eax, dword [edi + 0x40]
jne 0x1008bb0f
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi + 0x44]
je 0x1008bd00
mov ecx, eax
mov eax, dword [ebp - 8]
shrd ecx, eax, 9
shr eax, 9
test eax, eax
ja 0x1008bd3d
jb 0x1008bb2e
cmp ecx, dword [ebx + 0x14]
jae 0x1008bd3d
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
cmp dword [eax + 4], ecx
je 0x1008bd3d
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
and ecx, 0x1ff
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1008bd3d
cmp eax, dword [ebx + 0xc]
je 0x1008bd3d
xor ecx, ecx
shld ecx, eax, 9
shl eax, 9
cmp byte [ebx + 2], 0
je 0x1008bd21
cmp eax, dword [ebx + 0x20]
jne 0x1008bb7b
cmp ecx, dword [ebx + 0x24]
je 0x1008bb8c
push ecx
push eax
mov ecx, ebx
call fcn.1008d01b
test eax, eax
jne 0x1008bd5d
mov edx, dword [edi + 0x54]
lea eax, [ebp - 0xc]
mov ecx, dword [ebx + 0x1c]
mov esi, 0x200
push eax
mov dword [ebp - 0xc], esi
call fcn.100b1608
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0x20], ecx
push 0
pop edx
adc dword [ebx + 0x24], edx
test eax, eax
jne 0x1008bd5d
cmp ecx, esi
jne 0x1008b9f1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [edi + 0x54]
lea ecx, [ecx - 9]
call fcn.100d3370
cmp dword [esi], eax
jne 0x1008b9f1
cmp dword [esi + 4], edx
jne 0x1008b9f1
mov esi, dword [esi + 8]
mov dword [ebp - 0x18], esi
cmp esi, 0x80000000
ja 0x1008b9f1
lea eax, [esi + 0xc]
cmp eax, 0x200
jbe 0x1008bc50
add eax, 0x1ff
and eax, 0xfffffe00
cmp eax, dword [edi + 0x58]
ja 0x1008b9f1
mov edx, dword [edi + 0x54]
add eax, 0xfffffe00
mov ecx, dword [ebx + 0x1c]
add edx, 0x200
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.100b1608
mov ecx, dword [ebp - 0x10]
add dword [ebx + 0x20], ecx
push 0
pop edx
adc dword [ebx + 0x24], edx
test eax, eax
jne 0x1008bd5d
cmp ecx, dword [ebp - 0xc]
jne 0x1008b9f1
mov ecx, dword [edi + 0x74]
xor eax, eax
push eax
mov eax, dword [edi + 0x54]
push esi
add eax, 0xc
push eax
call fcn.1002aa82
or dword [edi + 0x40], 0xffffffff
or dword [edi + 0x44], 0xffffffff
or dword [edi + 0x48], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp dword [edi + 0x50], edx
jb 0x1008bd92
mov ecx, dword [edi + 0x7c]
xor esi, esi
mov eax, dword [edi + 0x4c]
push esi
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], esi
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push esi
push dword [edi + 0x80]
mov dword [ebp - 0x1c], esi
push dword [edi + 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [edi + 0x7c]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x10], eax
jne 0x1008bcdc
mov ecx, dword [edi + 0x84]
mov ecx, dword [ecx + 0x10]
add ecx, 0x50
call fcn.1004509a
add eax, 2
push 0
pop ecx
adc edx, ecx
cmp eax, dword [ebp - 0x18]
jne 0x1008bcdc
cmp edx, ecx
je 0x1008bce5
mov byte [edi + 0x32], 1
test esi, esi
jne 0x1008bd1d
inc esi
test esi, esi
jne 0x1008bd1d
mov eax, dword [ebp + 8]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x48], eax
jmp 0x1008bab1
mov eax, dword [edi + 0x4c]
push esi
add eax, edx
push eax
push dword [ebp + 0xc]
call fcn.100d4620
add esp, 0xc
add dword [edi + 0x10], esi
push 0
pop eax
adc dword [edi + 0x14], eax
jmp 0x1008bd52
mov eax, esi
jmp 0x1008bd5d
add eax, edx
push 0
pop edx
adc ecx, edx
cmp eax, dword [ebx + 0x20]
jne 0x1008bd36
cmp ecx, dword [ebx + 0x24]
je 0x1008ba68
push ecx
push eax
jmp 0x1008ba59
push esi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
call fcn.100d4ba0
add esp, 0xc
add dword [edi + 0x10], esi
adc dword [edi + 0x14], ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008bd5b
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp byte [ebx + 3], 0
je 0x1008bd73
mov byte [edi + 0x31], 1
jmp 0x1008b9f1
cmp byte [ebx], 0
je 0x1008bd89
cmp dword [ebx + 0x1c], eax
je 0x1008bd89
push esi
push eax
push dword [ebp + 0xc]
call fcn.100d4ba0
jmp 0x1008bd0f
mov byte [edi + 0x30], 1
jmp 0x1008b9f1
mov eax, 0x80004005
jmp 0x1008bd5d