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

Disassembly:
push 0xffffffffffffffff
push 0x100bb5d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.1000624d
xor edi, edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esi + 0x18], edi
push 0x100000
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 1
mov dword [esi + 0x1c], edi
call fcn.1000626c
test al, al
je 0x100999fe
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.100062bb
push 0x100000
lea ecx, [esp + 0x5c]
call fcn.10008a5e
test al, al
je 0x100999fe
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x58]
call fcn.10008aa9
lea edx, [esp + 0x88]
push 3
push edx
lea ecx, [esp + 0x38]
call fcn.10006385
cmp eax, 3
jb 0x10099d10
cmp byte [esp + 0x88], 0x1f
jne 0x10099d10
cmp byte [esp + 0x89], 0x9d
jne 0x10099d10
mov al, byte [esp + 0x8a]
test al, 0x60
mov bl, al
jne 0x10099d10
and eax, 0x1f
cmp eax, 9
mov dword [esp + 0x20], eax
jb 0x10099d10
cmp eax, 0x10
ja 0x10099d10
mov ebp, 1
mov ecx, eax
shl ebp, cl
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x80], ebp
jne 0x100999cb
cmp dword [esi + 8], edi
je 0x100999cb
cmp dword [esi + 0xc], edi
je 0x100999cb
cmp dword [esi + 0x10], edi
jne 0x10099a21
mov ecx, esi
call fcn.10099850
lea ecx, [ebp + ebp]
call fcn.1009d9c0
cmp eax, edi
mov dword [esi + 8], eax
je 0x100999fe
mov ecx, ebp
call fcn.1009d9c0
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x100999fe
mov ecx, ebp
call fcn.1009d9c0
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x10099a1a
lea ecx, [esp + 0x58]
call fcn.10008a9a
lea ecx, [esp + 0x30]
call fcn.100062aa
mov eax, 0x8007000e
jmp 0x10099d27
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], eax
and bl, 0x80
mov edx, dword [esi + 8]
neg bl
sbb ebx, ebx
xor ecx, ecx
and ebx, 0xffff0100
mov word [edx + 0x200], di
mov eax, dword [esi + 0xc]
add ebx, 0x10000
cmp ebx, 0x100
mov dword [esp + 0x28], edi
sete cl
add ecx, 0x100
mov dword [esp + 0x2c], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x14], 9
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], 0
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov byte [eax + 0x100], 0
mov dword [esp + 0x24], edi
jmp 0x10099a87
xor edi, edi
cmp dword [esp + 0x1c], ebp
jne 0x10099b48
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10006385
shl eax, 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
xor ebp, ebp
call fcn.10008ac1
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0xa4], eax
cmp ebx, edi
mov dword [esp + 0xa8], edx
je 0x10099b48
mov edi, dword [esp + 0x28]
mov ecx, eax
sub ecx, edi
mov edi, edx
sbb edi, dword [esp + 0x2c]
mov dword [esp + 0xa0], edi
jne 0x10099af1
cmp ecx, 0x2000
jb 0x10099b48
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
xor edi, edi
sub eax, edx
cdq
add eax, ecx
mov ecx, dword [esp + 0x40]
adc edx, edi
mov edi, dword [esp + 0x44]
add eax, ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa4]
adc edx, edi
push eax
mov dword [esp + 0xb4], edx
mov edx, dword [ebx]
push ecx
push ebx
call dword [edx + 0xc]
mov edi, eax
test edi, edi
jne 0x10099ca2
mov ecx, dword [esp + 0x14]
mov eax, ebp
shr eax, 3
xor ebx, ebx
mov edi, 1
mov bh, byte [esp + eax + 0x8a]
xor edx, edx
mov bl, byte [esp + eax + 0x89]
mov dl, byte [esp + eax + 0x88]
shl edi, cl
shl ebx, 8
mov ecx, ebp
mov eax, dword [esp + 0x1c]
or ebx, edx
and ecx, 7
shr ebx, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], edi
dec edi
add ebp, ecx
and ebx, edi
cmp ebp, eax
ja 0x10099cc0
cmp ebx, dword [esp + 0x18]
jae 0x10099cb8
cmp ebx, dword [esp + 0x84]
jne 0x10099bcc
xor ebp, ebp
mov dword [esp + 0x14], 9
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0x101
mov byte [esp + 0x13], 0
jmp 0x10099a85
xor edi, edi
cmp ebx, 0x100
mov eax, ebx
jb 0x10099bf8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
inc edi
mov cl, byte [ecx + eax]
mov byte [edx + edi - 1], cl
mov edx, dword [esi + 8]
xor ecx, ecx
mov cx, word [edx + eax*2]
mov eax, ecx
cmp eax, 0x100
jae 0x10099bd8
mov edx, dword [esi + 0x10]
mov cl, byte [esp + 0x13]
mov byte [edx + edi], al
inc edi
test cl, cl
je 0x10099c1c
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov byte [edx + ecx - 1], al
dec ecx
cmp ebx, ecx
jne 0x10099c1c
mov ecx, dword [esi + 0x10]
mov byte [ecx], al
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x58]
dec edi
mov al, byte [edx + edi]
mov edx, dword [esp + 0x5c]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jne 0x10099c48
lea ecx, [esp + 0x58]
call fcn.10008b96
test edi, edi
ja 0x10099c1c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jae 0x10099bc2
mov ecx, dword [esi + 8]
inc eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], eax
mov word [ecx + eax*2 - 2], bx
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
jbe 0x10099a85
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
jae 0x10099a85
mov eax, edx
xor ebp, ebp
inc eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
jmp 0x10099a85
lea ecx, [esp + 0x58]
call fcn.10008a9a
lea ecx, [esp + 0x30]
call fcn.100062aa
mov eax, edi
jmp 0x10099d27
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
sub eax, ebp
xor edi, edi
cdq
add eax, ecx
lea ecx, [esp + 0x58]
adc edx, edi
mov edi, dword [esp + 0x44]
add eax, ebx
adc edx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.10008b7a
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x10099cfa
mov esi, eax
lea ecx, [esp + 0x58]
call fcn.10008a9a
lea ecx, [esp + 0x30]
call fcn.100062aa
mov eax, esi
jmp 0x10099d27
lea ecx, [esp + 0x58]
call fcn.10008a9a
lea ecx, [esp + 0x30]
call fcn.100062aa
mov eax, 1
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x14