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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x74], edx
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x70], ecx
je 0x446763
test edi, edi
je 0x44676a
xor eax, eax
lea ecx, [esp + 0x74]
nop dword [eax]
xor edx, edx
cmp dword [edi + 0x18], ebx
lea esi, [edi + 0x10]
cmovbe ecx, esi
setbe dl
add eax, edx
mov edi, dword [edi + 0x10]
mov dword [ecx], edi
test edi, edi
jne 0x446740
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
jmp 0x44676e
mov eax, 1
jmp 0x44676e
xor edi, edi
xor eax, eax
add dword [ecx + 0xd0], eax
cmp dword [edi + 0x18], 1
jne 0x44679b
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x14]
mov edx, dword [edx + 0x70]
bswap edx
inc edx
bswap edx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 4]
mov dword [eax + 0x5c], edx
mov eax, dword [edi + 4]
mov dword [eax + 0x60], 0x1a5f2e00
mov edx, dword [ecx + 0xe8]
mov eax, dword [ecx + 0xa8]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 0xb]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x20]
mov esi, dword [eax]
mov dword [esp + 0xc], edx
lea eax, [edx + 0x34]
push 0x30
push esi
mov dword [esp + 0x74], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4467dd
mov eax, dword [esi + 0x10]
inc eax
mov dword [esp + 0x20], eax
jmp 0x4467e5
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0xc]
cmp word [ebx + 0x28], 0
mov dword [esp + 0x18], edi
je 0x4469bf
mov eax, dword [ebx + 0x44]
test eax, eax
mov dword [esp + 0x10], eax
je 0x446a1e
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
mov edx, ebx
sar edx, 0x1f
mov ecx, eax
mov dword [esp + 0x38], edx
imul ecx, edx
mov dword [esp + 0x34], ebx
mul ebx
mov ebx, eax
add ebx, 0x20
adc edx, ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x14], 0
test edi, edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x1c], ebx
je 0x446b45
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x10]
mov esi, edx
jmp 0x4468db
mov esi, dword [esp + 0xc]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx]
push edx
push eax
push dword [esp + 0x34]
push dword [edi + 4]
push ecx
call dword [esi + 0xc]
add esp, 0x14
test eax, eax
mov ebx, dword [esp + 0x10]
jne 0x447174
and byte [edi + 0x1c], 0xbf
mov esi, dword [esp + 0x24]
nop word cs:[eax + eax]
mov edi, dword [edi + 0x10]
test edi, edi
je 0x446b53
cmp dword [esp + 0x20], 0
je 0x446930
cmp dword [ebp + 0xc], 0
je 0x446900
cmp dword [edi + 0x10], 0
jne 0x446900
inc ebx
mov dword [esp + 0x10], ebx
xor eax, eax
jmp 0x44693e
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], 0
mov edx, dword [edi + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, ebx
lea eax, [esp + 0x40]
push eax
call fcn.00448020
add esp, 4
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x20]
jae 0x446990
mov ebx, dword [esp + 0x10]
inc ebx
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x10], ebx
je 0x44694b
mov eax, dword [edi + 0x10]
test eax, eax
mov eax, 0
cmove eax, dword [ebp + 8]
jmp 0x44694d
xor eax, eax
lea ecx, [esp + 0x80]
mov edx, edi
push esi
mov ebx, dword [esp + 0x20]
push ebx
push eax
call fcn.00448200
add esp, 0xc
test eax, eax
jne 0x447174
mov ecx, esi
add ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
adc ecx, dword [esp + 0x38]
or byte [edi + 0x1c], 0x40
mov eax, edi
mov dword [esp + 0x3c], edi
mov esi, ecx
mov ebx, dword [esp + 0x10]
jmp 0x4468d0
mov dword [esp + 0x24], esi
lea eax, [ecx - 1]
mov esi, eax
mul dword [esp + 0x34]
imul esi, dword [esp + 0x38]
add eax, 0x38
adc edx, esi
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x44688e
cmp ecx, esi
jae 0x446895
jmp 0x44688e
cmp dword [esi + 0x60], 0
je 0x446d01
mov dword [esp + 0x40], 0xffffffff
lea eax, [esp + 0x40]
push eax
push 4
call fcn.004288e0
add esp, 8
mov ebx, dword [esp + 0xc]
cmp byte [ebx + 0x2b], 0
je 0x446cda
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.004486e0
cmp byte [ebx + 0x2b], 0
jne 0x446d01
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
push 9
push 4
push 4
push eax
call dword [ecx + 0x38]
add esp, 0x10
jmp 0x446d01
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x50], xmm0
movq xmm0, qword [0x527110]
movq qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x2c]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], ch
mov byte [esp + 0x4b], cl
mov eax, dword [ebx + 0x70]
mov ecx, eax
bswap ecx
mov dword [esp + 0x4c], ecx
test eax, eax
jne 0x446a71
lea eax, [ebx + 0x54]
push eax
push 8
call fcn.004288e0
add esp, 8
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add ecx, edi
mov esi, dword [esp + 0x4c]
add esi, ecx
add ecx, edi
mov edi, dword [esp + 0xc]
add ecx, dword [esp + 0x48]
add esi, ecx
add ecx, edx
add eax, esi
add ecx, esi
add eax, ecx
mov edx, ecx
shr edx, 0x18
mov byte [esp + 0x58], dl
mov edx, ecx
shr edx, 0x10
mov byte [esp + 0x59], dl
mov byte [esp + 0x5a], ch
mov byte [esp + 0x5b], cl
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x5c], dl
mov edx, eax
shr edx, 0x10
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], ah
mov byte [esp + 0x5f], al
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x24], edx
mov byte [edi + 0x41], 0
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
mov byte [edi + 0x2f], 1
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push 0
push 0
push 0x20
push edx
push eax
call dword [ecx + 0xc]
add esp, 0x14
mov esi, eax
test eax, eax
jne 0x4471d6
cmp byte [edi + 0x30], 0
je 0x446b36
mov eax, dword [esp + 0x30]
shr eax, 2
and eax, 3
je 0x446b36
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
add esp, 8
mov esi, eax
test eax, eax
jne 0x4471d6
mov ebx, edi
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x446807
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x10]
mov esi, edx
mov dword [esp + 0x24], esi
mov esi, 0
cmp dword [ebp + 0xc], 0
mov edi, dword [esp + 0x18]
je 0x446fe2
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x68], 0
je 0x446dd6
mov edi, dword [esi + 0x24]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
call fcn.00423a30
cmp edi, 0xffffffe9
jl 0x446cd0
test eax, eax
jne 0x446cd0
mov ecx, edi
mov edi, esi
add ecx, 0x18
xor esi, esi
mov dword [esp + 0x28], ecx
xor edx, edx
call fcn.00424d20
test eax, eax
je 0x446cd0
mov ecx, dword [edi + 0x68]
mov dword [esp + 0x14], eax
lea eax, [ecx - 2]
mul dword [esp + 0x28]
add eax, 0x30
adc edx, 0
cmp ecx, 1
mov ecx, dword [edi + 8]
cmove edx, esi
mov esi, 0x18
cmovne esi, eax
mov eax, dword [ecx]
push edx
push esi
push 8
push dword [esp + 0x20]
push ecx
call dword [eax + 8]
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
bswap eax
mov dword [edi + 0x4c], eax
mov eax, dword [ecx + 4]
bswap eax
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x68]
mov dword [edi + 0x68], 0
test esi, esi
jne 0x446d64
cmp eax, ebx
ja 0x446d64
mov ecx, dword [esp + 0x14]
add ecx, 0x18
mov dword [esp + 0x78], ecx
inc eax
mov dword [esp + 0x10], ebx
nop dword [eax]
mov dword [esp + 0x20], eax
add eax, 0xfffffffe
mov esi, dword [esp + 0x28]
mul esi
mov ebx, edx
mov edi, eax
add edi, 0x20
adc ebx, 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push ebx
push edi
push esi
push dword [esp + 0x20]
push eax
call dword [ecx + 8]
add esp, 0x14
test eax, eax
jne 0x446d5e
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
bswap edx
bswap eax
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x40]
push esi
push dword [esp + 0x7c]
push eax
call fcn.00449de0
add esp, 0xc
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push ebx
push edi
push 0x18
push esi
push eax
call dword [ecx + 0xc]
add esp, 0x14
mov esi, eax
test eax, eax
jne 0x446d60
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x10]
cmp ecx, ebx
jbe 0x446c40
jmp 0x446d64
mov esi, 7
jmp 0x4471d6
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0xa
push 4
push 4
push eax
call dword [ecx + 0x38]
add esp, 0x10
cmp eax, 5
je 0x446d01
mov esi, eax
test eax, eax
mov ebx, dword [esp + 0xc]
je 0x4469ee
jmp 0x446d4d
mov edi, dword [esp + 0xc]
cmp byte [edi + 0x2b], 0
jne 0x446d1d
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push 5
push 1
push 3
push eax
call dword [ecx + 0x38]
add esp, 0x10
mov word [edi + 0x28], 0xffff
mov ebx, 1
nop dword [eax + eax]
mov ecx, edi
lea edx, [esp + 0x40]
push ebx
push 1
call fcn.004487d0
add esp, 8
inc ebx
cmp eax, 0xffffffff
je 0x446d30
mov esi, eax
mov edi, dword [esp + 0x18]
test esi, esi
mov ebx, dword [esp + 0xc]
jne 0x4471d6
jmp 0x4467f8
mov esi, eax
mov ebx, dword [esp + 0x10]
cmp dword [0x53c208], 0
je 0x446dbd
mov eax, dword [0x53de88]
test eax, eax
je 0x446d80
push eax
call dword [0x53c258]
add esp, 4
mov edi, dword [esp + 0x14]
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
mov edi, dword [esp + 0x18]
je 0x446dce
push eax
call dword [0x53c260]
add esp, 4
jmp 0x446dce
push dword [esp + 0x14]
call dword [0x53c22c]
add esp, 4
mov edi, dword [esp + 0x18]
test esi, esi
jne 0x4471d6
and dword [esp + 0x30], 3
mov dword [esp + 0x10], ebx
je 0x446e17
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x31], 0
je 0x446e26
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x446e33
push eax
call ecx
add esp, 4
cmp eax, 0x10000
mov ecx, 0x10000
cmovl ecx, eax
cmp eax, 0x20
mov eax, 0x200
cmovge eax, ecx
jmp 0x446e38
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x446f03
mov dword [esp + 0x14], 0
jmp 0x446ef0
mov eax, 0x1000
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ebx
add ebx, eax
mov edi, esi
adc edi, 0
add ebx, 0xffffffff
adc edi, 0xffffffff
push 0
push eax
push edi
push ebx
call fcn.0050f6d0
add esp, 0x10
sub ebx, eax
sbb edi, edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edi
mov eax, esi
xor esi, esi
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
sbb eax, edi
mov dword [esp + 0x14], 0
jge 0x446ed8
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
nop dword [eax]
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x3c]
push edi
push ebx
push dword [ebp + 8]
call fcn.00448200
add esp, 0xc
test eax, eax
jne 0x447174
add ebx, dword [esp + 0x34]
adc edi, dword [esp + 0x38]
inc dword [esp + 0x14]
cmp ebx, dword [esp + 0x20]
mov eax, edi
sbb eax, dword [esp + 0x28]
jl 0x446ea0
mov eax, dword [esp + 0x20]
xor eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x24]
or ecx, eax
mov edi, dword [esp + 0x18]
jne 0x446f03
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
push dword [esp + 0x30]
push ecx
call dword [eax + 0x14]
add esp, 8
mov esi, eax
mov ebx, dword [esp + 0xc]
cmp byte [ebx + 0x2f], 0
je 0x446fe2
mov eax, dword [ebx + 0x14]
test eax, eax
js 0x446fe2
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, ecx
mul dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
imul edx, ecx
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x1c]
add edi, 0x20
adc ebx, edx
cmp edi, eax
mov edx, eax
cmova edx, edi
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
cmovle ebx, ecx
cmovle edi, eax
cmove edi, edx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [0x53e054]
test eax, eax
je 0x446f78
call eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
call dword [ecx + 0x18]
add esp, 8
test eax, eax
jne 0x446fb1
xor eax, eax
cmp edi, dword [esp + 0x40]
mov ecx, ebx
sbb ecx, dword [esp + 0x44]
jge 0x446fb1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push ebx
push edi
push eax
call dword [ecx + 0x10]
add esp, 0xc
mov ecx, dword [0x53e058]
test ecx, ecx
je 0x446fc1
mov edi, eax
call ecx
mov eax, edi
test eax, eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
je 0x446fde
push dword [ebx + 0x6c]
push str.cannot_limit_WAL_size:__s
push eax
call fcn.004287c0
add esp, 0xc
mov byte [ebx + 0x2f], 0
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x44]
jmp 0x446ff3
mov edi, dword [edi + 0x10]
test edi, edi
je 0x447019
test esi, esi
jne 0x447019
xor esi, esi
test byte [edi + 0x1c], 0x40
je 0x446ff0
inc ebx
mov ecx, dword [esp + 0xc]
mov edx, ebx
push dword [edi + 0x18]
call fcn.00448480
add esp, 4
mov esi, eax
jmp 0x446ff0
test esi, esi
sete al
jne 0x447178
cmp dword [esp + 0x14], 0
jle 0x447185
mov edi, dword [esp + 0xc]
nop word cs:[eax + eax]
inc ebx
mov ecx, edi
mov edx, ebx
mov eax, dword [esp + 0x3c]
push dword [eax + 0x18]
call fcn.00448480
add esp, 4
mov esi, eax
test eax, eax
sete al
jne 0x44706d
mov edx, dword [esp + 0x14]
lea ecx, [edx - 1]
cmp edx, 1
mov dword [esp + 0x14], ecx
ja 0x447040
test al, al
je 0x447191
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0xff00
shr ecx, 0x10
or ecx, eax
mov word [edi + 0x42], cx
mov dword [edi + 0x44], ebx
cmp dword [ebp + 0xc], 0
je 0x447195
mov eax, dword [edi + 0x3c]
lea ecx, [eax + 1]
mov dword [edi + 0x3c], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x48], edi
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x38]
mov esi, dword [ecx]
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0x40], 1
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x34], 0x2de218
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x40]
add ecx, edx
lea edi, [eax + edx]
mov dword [esp + 0x10], edi
add eax, edx
add eax, 0x5bc431
lea edx, [ecx + eax]
add ecx, eax
add ecx, 0x2de218
mov eax, dword [esp + 0x10]
add eax, ebx
add eax, 0x5bc431
add eax, ecx
mov ecx, dword [ebp + 8]
add ecx, edx
add ecx, 0x2de218
mov edi, dword [esp + 0xc]
add ecx, eax
add eax, dword [edi + 0x4c]
add eax, ecx
add ecx, dword [edi + 0x50]
add ecx, eax
add eax, dword [edi + 0x54]
add eax, ecx
add ecx, dword [edi + 0x58]
add ecx, eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], ecx
mov eax, dword [esp + 0x6c]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x40], xmm1
movups xmmword [esi + 0x30], xmm0
cmp byte [edi + 0x2b], 2
je 0x447153
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
add esp, 4
mov eax, dword [esp + 0x6c]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x20], xmm0
movdqu xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movdqu xmmword [esi], xmm0
mov dword [edi + 0xc], ebx
jmp 0x447195
mov esi, eax
jmp 0x4471d6
mov edi, dword [esp + 0xc]
test al, al
je 0x447191
jmp 0x447075
mov edi, dword [esp + 0xc]
test al, al
jne 0x447075
test esi, esi
jne 0x4471d6
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x60]
xor esi, esi
test ecx, ecx
je 0x4471d6
cmp dword [esp + 0x18], 0
je 0x4471d6
nop dword [eax]
test ecx, ecx
mov ebx, dword [esp + 0x18]
je 0x4471c6
mov edx, dword [ebx + 0x18]
push dword [ebx + 4]
call fcn.00449ef0
add esp, 4
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4471d6
mov ecx, dword [edi + 0x60]
jmp 0x4471b0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret