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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x100bdc68]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov dword [esp + 0x3c], ebp
mov edi, 0x2c
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x34]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov ebx, dword [eax]
mov edx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10089a24
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10089a11
jmp 0x10089a2c
mov eax, dword [ebx + 0x10]
inc eax
mov dword [esp + 0x1c], eax
xor edi, edi
cmp word [esi + 0x28], di
jne 0x10089ada
cmp dword [ebx + 0x60], edi
jbe 0x10089a9e
lea eax, [esp + 0x20]
push eax
push 4
call sym.sqlite3.dll_sqlite3_randomness
add esp, 8
cmp byte [esi + 0x2b], 0
jne 0x10089a6c
mov eax, dword [esi + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10089a95
push dword [esp + 0x20]
push esi
call fcn.1009c540
add esp, 8
cmp byte [esi + 0x2b], 0
jne 0x10089ab8
mov eax, dword [esi + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
jmp 0x10089a9e
cmp edi, 5
jne 0x1008a111
cmp byte [esi + 0x2b], 0
jne 0x10089ab8
mov eax, dword [esi + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
or eax, 0xffffffff
xor ebx, ebx
mov word [esi + 0x28], ax
inc ebx
lea eax, [esp + 0x40]
push ebx
push 1
push eax
push esi
call fcn.1009c7d0
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x10089ac1
test edi, edi
jne 0x1008a111
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10089bce
mov ecx, dword [esi + 0x70]
lea edi, [esi + 0x54]
mov dword [esp + 0x60], 0x82067f37
mov eax, ebx
mov dword [esp + 0x64], 0x18e22d00
bswap eax
mov dword [esp + 0x68], eax
mov eax, ecx
bswap eax
mov dword [esp + 0x6c], eax
test ecx, ecx
jne 0x10089b2d
push edi
push 8
call sym.sqlite3.dll_sqlite3_randomness
add esp, 8
mov ecx, dword [edi + 4]
xor edx, edx
mov eax, dword [edi]
xor edi, edi
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], eax
mov eax, dword [ecx]
add eax, edx
add edi, eax
mov eax, dword [ecx + 4]
add eax, edi
add ecx, 8
add edx, eax
lea eax, [esp + 0x78]
cmp ecx, eax
jb 0x10089b42
mov eax, edi
mov dword [esi + 0x50], edx
bswap eax
mov dword [esp + 0x78], eax
mov eax, edx
bswap eax
mov dword [esi + 0x4c], edi
lea edx, [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 8]
push 0
push 0
mov dword [esi + 0x24], ebx
mov byte [esi + 0x41], 0
mov byte [esi + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
cmp byte [esi + 0x30], al
je 0x10089bce
mov ecx, dword [esp + 0xb4]
mov edx, dword [esi + 8]
sar ecx, 2
and ecx, 3
je 0x10089bcc
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x10089bce
jmp 0x1008a111
xor edi, edi
mov eax, dword [esi + 8]
xorps xmm0, xmm0
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0x18]
cdq
mov dword [esp + 0x58], ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x48], esi
push eax
push ecx
push 0
push dword [esp + 0x30]
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
call fcn.100aad50
mov ecx, dword [esp + 0xb0]
add eax, 0x20
mov ebx, edx
mov dword [esp + 0x10], eax
adc ebx, 0
mov dword [esp + 0x2c], ebx
test ebp, ebp
je 0x10089e13
lea edx, [esi + 0x68]
mov dword [esp + 0x18], edx
nop dword [eax + eax]
cmp dword [esp + 0x1c], 0
je 0x10089cfe
cmp dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
mov dword [esp + 0x44], eax
jne 0x10089c64
mov dword [esp + 0x18], edx
test ecx, ecx
jne 0x10089cfe
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebp + 0x18]
push esi
call fcn.10089840
mov edi, dword [esp + 0x20]
add esp, 0xc
cmp edi, dword [esp + 0x1c]
jb 0x10089cf4
push dword [esp + 0x30]
lea eax, [edi - 1]
push dword [esp + 0x38]
push 0
push eax
call fcn.100aad50
add eax, 0x38
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
adc edx, 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10089cb2
cmp edi, ecx
jae 0x10089cb4
mov dword [eax], edi
mov eax, dword [esi + 8]
push edx
push dword [esp + 0x24]
push dword [esp + 0xac]
mov ecx, dword [eax]
push dword [ebp + 4]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
mov eax, 0xffbf
and word [ebp + 0x1c], ax
lea eax, [esi + 0x68]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jmp 0x10089dfd
mov ecx, dword [esp + 0xb0]
lea edx, [esi + 0x68]
inc dword [esp + 0x24]
test ecx, ecx
je 0x10089d15
cmp dword [ebp + 0x10], 0
jne 0x10089d15
mov ecx, dword [esp + 0xac]
jmp 0x10089d17
xor ecx, ecx
mov eax, dword [ebp + 4]
lea edi, [esi + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
bswap eax
bswap ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
cmp dword [edx], 0
mov dword [esp + 0x18], edx
jne 0x10089d87
mov eax, dword [esi + 0x54]
xor ebx, ebx
mov ecx, dword [esi + 0x58]
push edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push edi
mov dword [esp + 0x74], ecx
cmp byte [esi + 0x41], bl
push 8
sete bl
push eax
push ebx
call fcn.1009b110
push edi
push edi
push dword [esi + 0x24]
push dword [esp + 0x34]
push ebx
call fcn.1009b110
mov eax, dword [edi]
add esp, 0x28
mov ebx, dword [esp + 0x2c]
bswap eax
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [esp + 0x74], eax
jmp 0x10089d8f
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
push ebx
push dword [esp + 0x14]
lea eax, [esp + 0x68]
push 0x18
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1009cb10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
mov ecx, dword [esp + 0x10]
mov eax, ebx
add ecx, 0x18
adc eax, edi
push eax
push ecx
push dword [esp + 0xac]
lea eax, [esp + 0x54]
push dword [esp + 0x20]
push eax
call fcn.1009cb10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
mov dword [esp + 0x38], ebp
adc ebx, dword [esp + 0x30]
or word [ebp + 0x1c], 0x40
add ebp, 0x10
mov dword [esp + 0x2c], ebx
mov ebp, dword [ebp]
mov ecx, dword [esp + 0xb0]
test ebp, ebp
je 0x10089e13
lea edx, [esi + 0x68]
jmp 0x10089c40
lea eax, [esi + 0x68]
test ecx, ecx
je 0x1008a078
cmp dword [eax], 0
je 0x10089e3a
push dword [esp + 0x24]
push esi
call fcn.1009c5a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1008a111
and dword [esp + 0xb4], 3
je 0x1008a027
cmp byte [esi + 0x31], 0
je 0x1008a00f
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10089e7e
push ecx
call eax
add esp, 4
cmp eax, 0x20
jge 0x10089e70
mov eax, 0x200
jmp 0x10089e83
cmp eax, 0x10000
jle 0x10089e83
mov eax, 0x10000
jmp 0x10089e83
mov eax, 0x1000
mov ebp, dword [esp + 0x10]
cdq
mov ecx, eax
add ecx, ebp
mov dword [esp + 0x10], ecx
mov ecx, edx
adc ecx, ebx
sub dword [esp + 0x10], 1
push edx
sbb ecx, 0
push eax
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
call fcn.100aad90
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
sbb eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
cmp ecx, ebp
jne 0x10089ed8
mov dword [esp + 0x20], 1
cmp eax, ebx
je 0x10089ee0
mov dword [esp + 0x20], 0
cmp ebx, eax
jg 0x1008a008
jl 0x10089ef2
cmp ebp, ecx
jae 0x1008a008
mov ecx, dword [esp + 0xac]
bswap ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x38]
lea edi, [esi + 0x4c]
mov dword [esp + 0x84], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x18]
bswap eax
mov dword [esp + 0x80], eax
cmp dword [esi + 0x68], 0
jne 0x10089f83
mov eax, dword [esi + 0x54]
xor ebx, ebx
mov ecx, dword [esi + 0x58]
push edi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
push edi
mov dword [esp + 0x94], ecx
cmp byte [esi + 0x41], bl
push 8
sete bl
push eax
push ebx
call fcn.1009b110
push edi
push edi
push dword [esi + 0x24]
push dword [esp + 0x34]
push ebx
call fcn.1009b110
mov eax, dword [edi]
add esp, 0x28
mov ebx, dword [esp + 0x2c]
bswap eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [esp + 0x94], eax
jmp 0x10089f8e
xorps xmm0, xmm0
movups xmmword [esp + 0x88], xmm0
push ebx
push ebp
push 0x18
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1009cb10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
mov ecx, ebp
mov eax, ebx
add ecx, 0x18
adc eax, edi
push eax
push ecx
push dword [esp + 0xac]
lea eax, [esp + 0x54]
push dword [esp + 0x20]
push eax
call fcn.1009cb10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1008a111
add ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
adc ebx, dword [esp + 0x30]
inc dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esp + 0x1c]
jl 0x10089eff
jg 0x1008a008
cmp ebp, dword [esp + 0x10]
jb 0x10089eff
cmp dword [esp + 0x20], 0
je 0x1008a027
mov ecx, dword [esp + 0x40]
push dword [esp + 0xb4]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov edi, eax
cmp byte [esi + 0x2f], 0
je 0x1008a078
mov ebp, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ebp, ebp
jl 0x1008a078
jg 0x1008a03d
test ebx, ebx
jb 0x1008a078
push dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x38]
add eax, dword [esp + 0x2c]
push 0
push eax
call fcn.100aad50
add eax, 0x20
adc edx, 0
cmp edx, ebp
jl 0x1008a069
jg 0x1008a065
cmp eax, ebx
jbe 0x1008a069
mov ebx, eax
mov ebp, edx
push ebp
push ebx
push esi
call fcn.1009c180
add esp, 0xc
mov byte [esi + 0x2f], 0
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esi + 0x44]
test ebp, ebp
je 0x1008a0a8
test edi, edi
jne 0x1008a111
test byte [ebp + 0x1c], 0x40
je 0x1008a0a1
push dword [ebp + 0x18]
inc ebx
push ebx
push esi
call fcn.1009b350
add esp, 0xc
mov edi, eax
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x1008a083
test edi, edi
jne 0x1008a111
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x1008a0d3
push dword [ebp + 0x18]
inc ebx
dec eax
push ebx
push esi
mov dword [esp + 0x34], eax
call fcn.1009b350
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1008a0b0
jmp 0x1008a111
mov ecx, dword [esp + 0xa4]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [esi + 0x44], ebx
cmp dword [esp + 0xb0], 0
mov word [esi + 0x42], ax
je 0x1008a111
mov eax, dword [esp + 0xac]
inc dword [esi + 0x3c]
push esi
mov dword [esi + 0x48], eax
call fcn.1009be90
add esp, 4
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x98]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100aac86
add esp, 0x8c
ret