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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
mov ebx, ecx
mov dword [esp + 0x10], 0
push esi
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
mov ecx, dword [ebx]
mov esi, edx
mov edx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov word [esp + 0x4c], di
cmp dword [ecx + 0xc8], edx
jle 0x10208564
mov al, byte [esi]
test al, al
je 0x102088f1
mov ebx, esi
inc esi
cmp al, 0xa
je 0x102084e0
mov al, byte [esi]
test al, al
jne 0x102084d5
mov ecx, dword [esp + 0x48]
add ecx, 3
cmp ecx, dword [esp + 0x40]
jb 0x10208502
push 3
mov edx, 0x1027cc1c
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
jmp 0x1020851a
mov ax, word [0x1027cc1c]
mov dword [esp + 0x48], ecx
mov word [ecx + edi - 3], ax
mov al, byte [0x1027cc1e]
mov byte [ecx + edi - 1], al
mov eax, dword [esp + 0x48]
mov ecx, esi
sub ecx, ebx
add eax, ecx
cmp eax, dword [esp + 0x40]
jb 0x1020853b
push ecx
mov edx, ebx
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
jmp 0x10208554
test ecx, ecx
je 0x10208554
mov dword [esp + 0x48], eax
sub eax, ecx
add eax, dword [esp + 0x3c]
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esi]
mov edi, dword [esp + 0x3c]
test al, al
jne 0x102084d3
jmp 0x10208599
cmp word [ebx + 0x10], di
jne 0x102085c5
test esi, esi
jne 0x10208572
xor ecx, ecx
jmp 0x10208586
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10208577
sub ecx, edx
and ecx, 0x3fffffff
push ecx
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
mov edi, dword [esp + 0x3c]
cmp byte [esp + 0x4c], 0
je 0x102088c3
test byte [esp + 0x4d], 4
je 0x102085ba
test edi, edi
je 0x102085ba
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.102371f0
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [esi]
test cl, cl
je 0x102088f1
nop
xor eax, eax
mov dword [esp + 0x30], edx
xor ebx, ebx
mov dword [esp + 0x20], eax
mov edi, esi
test cl, cl
je 0x10208606
lea edx, [esp + 0x2c]
mov ecx, edi
call fcn.1019de50
cmp dword [esp + 0x2c], 0x9c
je 0x10208602
add edi, eax
add ebx, eax
cmp byte [edi], 0
jne 0x102085e2
jmp 0x10208606
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
add eax, ebx
cmp eax, dword [esp + 0x40]
jb 0x10208627
push ebx
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10234d70
mov edi, dword [esp + 0x40]
add esp, 4
jmp 0x1020864a
test ebx, ebx
je 0x10208646
mov dword [esp + 0x48], eax
sub eax, ebx
add eax, dword [esp + 0x1c]
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x48]
add esp, 0xc
jmp 0x1020864a
mov edi, dword [esp + 0x1c]
add esi, ebx
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10208599
cmp byte [esi], 0x3f
jne 0x1020867a
cmp ebx, 1
jle 0x10208674
lea ecx, [esi + 1]
lea edx, [esp + 0x18]
call fcn.10232c50
mov eax, dword [esp + 0x18]
jmp 0x10208697
mov eax, dword [esp + 0x14]
jmp 0x10208693
mov ecx, dword [esp + 0x24]
mov edx, esi
push ebx
mov ecx, dword [ecx + 0x80]
call fcn.102320e0
mov edi, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x18], eax
lea edx, [eax + 1]
add esi, ebx
cmp edx, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
cmovle edx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edx
mov ebx, dword [eax + 0x64]
add ebx, 0xffffffd8
movzx eax, word [ebx + ecx*8 + 0x10]
lea ebx, [ebx + ecx*8]
test al, 1
je 0x102086fd
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp ecx, dword [esp + 0x40]
jb 0x102086eb
push 4
mov edx, str.NULL
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
jmp 0x102088a8
mov eax, dword [str.NULL]
mov dword [esp + 0x48], ecx
mov dword [ecx + edi - 4], eax
jmp 0x102088ac
test al, 0x24
je 0x1020871d
push dword [ebx + 4]
lea eax, [esp + 0x3c]
push dword [ebx]
push str._lld
push eax
call sym.WMCommon.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x102088a8
test al, 8
je 0x10208744
movsd xmm0, qword [ebx]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call sym.WMCommon.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x102088a8
test al, 2
je 0x102087f3
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x28], al
cmp al, 1
je 0x102087c2
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x70], xmm0
mov eax, dword [ebx + 0xc]
push 0
push dword [esp + 0x2c]
cdq
push edx
mov edx, dword [ebx + 8]
push eax
call fcn.10211940
add esp, 0x10
test byte [esp + 0x60], 2
jne 0x1020879b
mov byte [esp + 0x62], 1
jmp 0x102087be
cmp byte [esp + 0x62], 1
je 0x102087be
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.10233ea0
cmp eax, 7
jne 0x102087be
mov byte [esp + 0x4c], al
mov dword [esp + 0x40], 0
lea ebx, [esp + 0x50]
push dword [ebx + 8]
lea eax, [esp + 0x3c]
push dword [ebx + 0xc]
push str._.q
push eax
call sym.WMCommon.dll_sqlite3_str_appendf
add esp, 0x10
cmp byte [esp + 0x28], 1
je 0x102088a8
lea ecx, [esp + 0x50]
call fcn.10212550
jmp 0x102088a8
test eax, 0x400
je 0x10208813
push dword [ebx]
lea eax, [esp + 0x3c]
push str.zeroblob__d_
push eax
call sym.WMCommon.dll_sqlite3_str_appendf
add esp, 0xc
jmp 0x102088a8
mov ecx, dword [esp + 0x48]
add ecx, 2
cmp ecx, dword [esp + 0x40]
jb 0x10208835
push 2
mov edx, 0x1027cce8
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
jmp 0x10208844
mov ax, word [0x1027cce8]
mov dword [esp + 0x48], ecx
mov word [ecx + edi - 2], ax
mov eax, dword [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x30], eax
test eax, eax
jle 0x10208876
mov esi, eax
mov eax, dword [ebx + 8]
movzx eax, byte [eax + edi]
push eax
lea eax, [esp + 0x3c]
push str._02x
push eax
call sym.WMCommon.dll_sqlite3_str_appendf
inc edi
add esp, 0xc
cmp edi, esi
jl 0x10208853
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
inc edx
cmp edx, dword [esp + 0x40]
jb 0x10208896
push 1
mov edx, 0x10268ecc
lea ecx, [esp + 0x3c]
call fcn.10234d70
add esp, 4
jmp 0x102088a8
mov eax, dword [esp + 0x3c]
mov cl, byte [0x10268ecc]
mov dword [esp + 0x48], edx
mov byte [edx + eax - 1], cl
mov edx, dword [esp + 0x14]
mov cl, byte [esi]
test cl, cl
je 0x10208595
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
jmp 0x102085d0
test edi, edi
je 0x102088f1
mov eax, dword [esp + 0x48]
mov byte [eax + edi], 0
cmp dword [esp + 0x44], 0
jbe 0x102088ed
test byte [esp + 0x4d], 4
jne 0x102088ed
lea ecx, [esp + 0x38]
call fcn.10234c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret