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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x103b2018]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa8]
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
push esi
xor ebx, ebx
push edi
mov edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
cmp ebp, ebx
je 0x100341df
cmp byte [ebp], bl
je 0x100341df
xor esi, esi
jmp 0x100341e4
mov esi, 1
cmp ebp, ebx
je 0x10034219
mov ecx, str.:memory:
mov eax, ebp
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10034210
test dl, dl
je 0x1003420c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10034210
add eax, 2
add ecx, 2
test dl, dl
jne 0x100341f0
xor eax, eax
jmp 0x10034215
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10034232
cmp esi, ebx
je 0x10034223
cmp byte [edi + 0x37], 2
je 0x10034232
mov eax, dword [esp + 0xc4]
test al, al
js 0x10034239
xor edi, edi
jmp 0x10034246
mov eax, dword [esp + 0xc4]
or dword [esp + 0xc0], 2
mov edi, 1
mov dword [esp + 0x40], edi
test eax, 0x100
je 0x1003426a
cmp edi, ebx
jne 0x10034259
cmp esi, ebx
je 0x1003426a
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xc4], eax
push 0x2c
call fcn.10023b40
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x100342f0
push 0x2c
push 0
push ebx
call fcn.1012a6a0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov byte [ebx + 8], 0
mov dword [ebx], edx
mov dword [ebx + 0x1c], ebx
mov dword [ebx + 0x20], 1
test esi, esi
jne 0x100344b0
test edi, edi
je 0x100342b9
test byte [esp + 0xc4], 0x40
je 0x100344b0
test dword [esp + 0xc4], 0x20000
je 0x100344b0
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
inc esi
push esi
call fcn.10023b40
add esp, 4
mov dword [esp + 0x24], eax
mov byte [ebx + 9], 1
test eax, eax
jne 0x100342fa
push ebx
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
mov eax, 7
jmp 0x100347d4
test edi, edi
je 0x10034326
mov ecx, ebp
call fcn.10025ea0
mov ecx, dword [esp + 0x24]
inc eax
push eax
push ebp
push ecx
call sub.MSVCR90.dll_memcpy
mov edi, dword [esp + 0x3c]
add esp, 0xc
cmp dword [0x103b3804], 0
jne 0x10034360
xor eax, eax
jmp 0x1003436b
mov edi, dword [esp + 0x30]
push eax
push esi
mov byte [eax], 0
mov edx, dword [edi + 0x24]
push ebp
push edi
call edx
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
test esi, esi
je 0x10034319
mov eax, dword [esp + 0x24]
push eax
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
push ebx
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
mov eax, esi
jmp 0x100347d4
push 4
call dword [0x103b3848]
add esp, 4
push eax
mov dword [esp + 0x38], eax
call sym.NirvanaBiz.dll_sqlite3_mutex_enter
add esp, 4
cmp dword [0x103b3804], 0
jne 0x10034389
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x1003439a
push 2
call dword [0x103b3848]
add esp, 4
mov esi, eax
mov dword [esp + 0x2c], eax
push esi
call sym.NirvanaBiz.dll_sqlite3_mutex_enter
mov eax, dword [0x103c30b8]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x1003448a
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi + 0x90]
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100343e6
test dl, dl
je 0x100343e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100343e6
add eax, 2
add ecx, 2
test dl, dl
jne 0x100343c6
xor eax, eax
jmp 0x100343eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100343f3
cmp dword [esi], edi
je 0x1003440b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100343b4
mov esi, dword [esp + 0x2c]
jmp 0x1003448e
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x14]
sub eax, 1
js 0x1003443a
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0x18]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
mov edx, dword [ecx]
test edx, edx
je 0x10034432
cmp dword [edx + 4], esi
je 0x1003444a
dec eax
sub ecx, 0x10
test eax, eax
jge 0x10034427
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov dword [ebx + 4], eax
inc dword [eax + 0x40]
jmp 0x1003448e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003445c
push eax
call dword [0x103b3858]
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1003446e
push eax
call dword [0x103b3858]
add esp, 4
push ebp
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
push ebx
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
mov eax, 0x13
jmp 0x100347d4
mov ebp, dword [esp + 0x24]
test esi, esi
je 0x1003449c
push esi
call dword [0x103b3858]
add esp, 4
push ebp
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x10034659
push 0x54
call fcn.10023b40
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x100344cd
push 0x54
push 0
push ebp
call fcn.1012a6a0
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x100344e2
mov dword [esp + 0x14], 7
jmp 0x1003473a
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0xd0]
call fcn.1002e800
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1003473a
mov edx, dword [ebp]
push edx
lea esi, [esp + 0x48]
call fcn.1002e000
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1003473a
mov al, byte [esp + 0xc0]
mov ecx, dword [esp + 0x28]
mov byte [ebp + 0x10], al
mov eax, dword [ebp]
mov dword [ebp + 4], ecx
lea ecx, [eax + 0x98]
mov dword [eax + 0x9c], ebp
mov eax, dword [eax + 0x3c]
xor esi, esi
mov dword [ecx], 0x10034150
cmp dword [eax], esi
je 0x10034569
mov edx, dword [eax]
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov dword [ebx + 4], ebp
mov edi, dword [ebp]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
cmp byte [edi + 0xd], 0
je 0x10034580
or word [ebp + 0x16], 1
movzx eax, byte [esp + 0x55]
movzx ecx, byte [esp + 0x54]
shl eax, 8
or eax, ecx
shl eax, 8
lea ebx, [ebp + 0x20]
mov dword [ebx], eax
cmp eax, 0x200
jb 0x100345e5
cmp eax, 0x10000
ja 0x100345e5
lea edx, [eax - 1]
test eax, edx
jne 0x100345e5
movzx eax, byte [esp + 0x58]
or word [ebp + 0x16], 2
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f], al
call fcn.10026c00
test eax, eax
setne cl
mov byte [ebp + 0x11], cl
lea ecx, [esp + 0x84]
call fcn.10026c00
test eax, eax
mov al, byte [esp + 0x1f]
setne dl
mov byte [ebp + 0x12], dl
jmp 0x100345fd
mov dword [ebx], esi
cmp dword [esp + 0x38], esi
je 0x100345fb
cmp dword [esp + 0x40], esi
jne 0x100345fb
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x12], 0
xor al, al
movzx esi, al
push esi
push ebx
call fcn.1002deb0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10034736
mov eax, dword [ebx]
mov ecx, dword [esp + 0x20]
sub eax, esi
mov dword [ebp + 0x24], eax
cmp byte [ecx + 9], 0
je 0x10034659
mov dword [ebp + 0x40], 1
cmp dword [0x103b3804], 0
jne 0x1003469a
xor esi, esi
push esi
call sym.NirvanaBiz.dll_sqlite3_mutex_enter
mov eax, dword [0x103c30b8]
add esp, 4
push esi
mov dword [ebp + 0x44], eax
mov dword [0x103c30b8], ebp
call sym.NirvanaBiz.dll_sqlite3_mutex_leave
add esp, 4
mov edi, dword [esp + 0x20]
cmp byte [edi + 9], 0
je 0x10034729
mov esi, dword [esp + 0x28]
xor edx, edx
cmp dword [esi + 0x14], edx
jle 0x10034729
mov ecx, dword [esi + 0x10]
add ecx, 4
lea esp, [esp]
mov eax, dword [ecx]
test eax, eax
je 0x1003468c
cmp byte [eax + 9], 0
jne 0x100346d7
inc edx
add ecx, 0x10
cmp edx, dword [esi + 0x14]
jl 0x10034680
jmp 0x10034729
push 2
call dword [0x103b3848]
add esp, 4
cmp dword [0x103b3804], 0
mov esi, eax
je 0x10034639
push 0
call dword [0x103b3848]
add esp, 4
mov dword [ebp + 0x38], eax
test eax, eax
jne 0x10034639
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], 7
mov byte [edx + 0x38], al
jmp 0x10034736
cmp dword [eax + 0x18], 0
je 0x100346e9
lea ecx, [ecx]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x100346e0
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x10034700
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [eax + 0x18], edi
jmp 0x10034729
cmp dword [eax + 0x14], 0
je 0x10034716
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x10034716
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x10034706
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x10034726
mov dword [ecx + 0x18], edi
mov dword [eax + 0x14], edi
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x3c]
mov dword [edx], edi
je 0x1003476f
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10034751
mov eax, dword [esi]
test eax, eax
je 0x10034751
push eax
call fcn.1002e0f0
add esp, 4
push esi
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
push ebx
call sym.NirvanaBiz.dll_sqlite3_free
mov eax, dword [esp + 0x40]
add esp, 4
mov dword [eax], 0
jmp 0x100347be
mov esi, dword [edi + 4]
call fcn.10032b40
cmp byte [edi + 9], 0
je 0x1003479b
add dword [edi + 0xc], 0xffffffff
jne 0x1003479b
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x10034797
push eax
call dword [0x103b3858]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x30], 0
jne 0x100347be
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov esi, dword [eax + 0xc4]
cmp dword [esi + 0x28], 0
mov dword [esi + 0x10], 0x7d0
je 0x100347be
call fcn.1002abd0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100347d0
push eax
call dword [0x103b3858]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10126cba
add esp, 0xa4
ret