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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
xor eax, eax
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0xc], 0
mov ecx, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
je 0x10073002
cmp byte [ecx + 1], 0x80
movzx edx, byte [ecx + 1]
jae 0x10072f6e
mov al, 1
jmp 0x10072fbf
movzx ebx, byte [ecx + 2]
test bl, bl
js 0x10072f82
and edx, 0x7f
mov al, 2
shl edx, 7
or edx, ebx
jmp 0x10072fbf
movzx eax, byte [ecx + 3]
shl edx, 0xe
or eax, edx
test al, al
js 0x10072fa2
mov edx, ebx
and eax, 0x1fc07f
and edx, 0x7f
shl edx, 7
or edx, eax
mov al, 3
jmp 0x10072fbf
inc ecx
lea edx, [esp + 0x30]
call fcn.10052470
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp ecx, dword [esp + 0x34]
je 0x10072fbb
or edx, 0xffffffff
mov ecx, dword [esp + 0x1c]
movzx ebx, byte [ecx]
movzx eax, al
inc eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
cmp edx, 0x80
jb 0x10072fdd
add edx, 0xfffffff4
shr edx, 1
jmp 0x10072fe7
lfence
movzx edx, byte [edx + 0x101ea018]
lea edi, [edx + ebx]
mov dword [esp + 0x20], 1
add esi, 0x28
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
jmp 0x1007308f
cmp byte [ecx], 0x80
movzx ebx, byte [ecx]
mov dword [esp + 0x24], ebx
jae 0x10073012
mov al, 1
jmp 0x1007307a
movzx eax, byte [ecx + 1]
mov dword [esp + 0x28], eax
test al, al
js 0x1007302e
and ebx, 0x7f
shl ebx, 7
or ebx, eax
mov al, 2
mov dword [esp + 0x24], ebx
jmp 0x1007307a
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x10073054
mov ebx, dword [esp + 0x28]
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
mov al, 3
mov dword [esp + 0x24], ebx
jmp 0x1007307a
lea ecx, [ecx]
lea edx, [esp + 0x30]
call fcn.10052470
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x24], ebx
cmp ecx, dword [esp + 0x34]
je 0x10073076
or ebx, 0xffffffff
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x1c]
movzx eax, al
mov edi, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0
cmp edi, dword [esp + 0x2c]
jbe 0x100730c3
push 0x10200bd4
push 0x13b66
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10050c50
mov edx, dword [ebp + 8]
add esp, 0x14
xor eax, eax
mov byte [edx + 0xb], 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsd xmm2, qword [0x1020b2a8]
movsd xmm1, qword [0x1020b210]
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x48], xmm1
nop
movzx edx, word [esi + 8]
mov al, byte [eax + ecx]
movzx ebx, al
test dl, 0x24
je 0x10073390
cmp ebx, 0xa
jae 0x100737dd
test al, al
je 0x100734bb
lea eax, [edi + ecx]
mov dword [esp + 0x14], eax
cmp ebx, 7
jne 0x100731d4
lea ecx, [esp + 0x58]
mov edx, ebx
push ecx
mov ecx, eax
lfence
call fcn.10072560
movsd xmm0, qword [esp + 0x5c]
add esp, 4
comisd xmm2, xmm0
jbe 0x10073142
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x10073749
comisd xmm0, xmm1
jb 0x10073158
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x10073749
call fcn.101bcef7
mov ecx, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
cmp edx, dword [esp + 0x18]
jg 0x1007318e
jl 0x10073172
cmp ecx, eax
jae 0x10073182
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x10073749
cmp edx, dword [esp + 0x18]
jl 0x1007319c
jg 0x1007318e
cmp ecx, eax
jbe 0x1007319c
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x10073749
call fcn.101bcfd0
movsd xmm1, qword [esp + 0x58]
comisd xmm1, xmm0
jbe 0x100731bd
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x10073749
xor eax, eax
comisd xmm0, xmm1
setbe al
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
jmp 0x10073749
cmp ebx, 6
ja case.default.0x100731dd
jmp dword [ebx*4 + 0x10073858]
movsx eax, byte [eax]
cdq
mov edi, eax
mov ecx, edx
jmp 0x10073359
movsx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x10073359
movzx ecx, byte [eax + 1]
movsx eax, byte [eax]
shl eax, 0x10
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 2]
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x10073359
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x10073359
movzx eax, byte [eax + 2]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
movsx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x30]
add edi, 0
cdq
adc ecx, eax
jmp 0x10073359
movzx eax, byte [eax]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 1]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 2]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 6]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 7]
cdq
or edi, eax
or ecx, edx
jmp 0x10073359
lea edi, [ebx - 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, edx
jl 0x100734bb
jg 0x10073382
cmp edi, eax
jb 0x100734bb
cmp ecx, edx
jl 0x10073741
jg 0x10073382
cmp edi, eax
jbe 0x10073741
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x10073745
test dl, 8
je 0x10073460
cmp ebx, 0xa
jae 0x100737dd
test al, al
je 0x100734bb
lea eax, [esp + 0x58]
add ecx, edi
push eax
mov edx, ebx
lfence
call fcn.10072560
movsd xmm0, qword [esi]
add esp, 4
cmp ebx, 7
jne 0x100733ef
movsd xmm1, qword [esp + 0x58]
comisd xmm0, xmm1
ja 0x100734bb
comisd xmm1, xmm0
jbe 0x100731cb
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x10073749
comisd xmm2, xmm0
ja 0x100737dd
comisd xmm0, xmm1
jae 0x100734bb
call fcn.101bcef7
mov ecx, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
cmp edx, ecx
jl 0x100734bb
mov ecx, dword [esp + 0x58]
jg 0x10073428
cmp ecx, eax
jb 0x100734bb
cmp edx, dword [esp + 0x30]
jg 0x100737dd
jl 0x1007343c
cmp ecx, eax
ja 0x100737dd
call fcn.101bcfd0
movsd xmm1, qword [esi]
comisd xmm1, xmm0
ja 0x100734bb
comisd xmm0, xmm1
ja 0x100737dd
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x10073749
test dl, 2
je 0x100735fb
cmp al, 0x80
jb 0x100734b6
add ecx, dword [esp + 0x28]
movzx edx, byte [ecx + 1]
test dl, dl
js 0x10073483
and ebx, 0x7f
shl ebx, 7
or ebx, edx
jmp 0x100734b6
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x100734a1
mov ebx, edx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x100734b6
lea edx, [esp + 0x38]
call fcn.10052470
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp eax, dword [esp + 0x3c]
jne 0x100734dc
cmp ebx, 0xc
jae 0x100734df
or edx, 0xffffffff
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, edx
neg eax
cmp byte [ebx + ecx], 0
cmove eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
test bl, 1
je 0x100737dd
mov ecx, dword [esp + 0x18]
lea edi, [ebx - 0xc]
shr edi, 1
mov dword [esp + 0x64], edi
lea eax, [edi + ecx]
cmp eax, dword [esp + 0x2c]
ja 0x100737e7
mov edx, dword [ebp + 8]
mov edx, dword [edx]
movzx eax, word [edx + 8]
cmp eax, dword [esp + 0x20]
jle 0x100737e7
mov eax, dword [esp + 0x20]
cmp dword [edx + eax*4 + 0x14], 0
je 0x1007356e
mov al, byte [edx + 4]
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x62], al
mov eax, dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, 2
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x68], eax
lea eax, [edx + 0xb]
push eax
mov eax, dword [edx]
mov edx, esi
push dword [eax + ecx*4 + 0x14]
lea ecx, [esp + 0x60]
call fcn.10072a30
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x10073749
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x30], eax
cmovl esi, edi
add ecx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x100735a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100735a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10073590
cmp esi, 0xfffffffc
je 0x100735da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100735d3
cmp esi, 0xfffffffd
je 0x100735da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100735d3
cmp esi, 0xfffffffe
je 0x100735da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100735d3
cmp esi, 0xffffffff
je 0x100735da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100735da
sbb edx, edx
or edx, 1
jmp 0x100735dc
xor edx, edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x10073745
mov edx, edi
sub edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
jmp 0x10073745
test dl, 0x10
je 0x10073734
cmp al, 0x80
jb 0x10073651
add ecx, dword [esp + 0x28]
movzx edx, byte [ecx + 1]
test dl, dl
js 0x1007361e
and ebx, 0x7f
shl ebx, 7
or ebx, edx
jmp 0x10073651
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x1007363c
mov ebx, edx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x10073651
lea edx, [esp + 0x40]
call fcn.10052470
mov ebx, dword [esp + 0x40]
xor eax, eax
cmp eax, dword [esp + 0x44]
jne 0x10073662
cmp ebx, 0xc
jae 0x10073665
or edx, 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x10073749
or ebx, 0xffffffff
test bl, 1
jne 0x10073656
mov ecx, dword [esp + 0x18]
lea edi, [ebx - 0xc]
shr edi, 1
lea eax, [edi + ecx]
cmp eax, dword [esp + 0x2c]
ja 0x10073815
movzx eax, word [esi + 8]
test eax, 0x4000
je 0x100736b1
xor eax, eax
test edi, edi
je 0x100736a4
add ecx, dword [esp + 0x1c]
cmp byte [ecx + eax], 0
jne 0x100737dd
inc eax
cmp eax, edi
jl 0x10073695
mov edx, edi
sub edx, dword [esi]
mov dword [esp + 0x10], edx
jmp 0x10073745
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x30], eax
cmovl esi, edi
add ecx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x100736e1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100736e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100736d0
cmp esi, 0xfffffffc
je 0x1007371a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10073713
cmp esi, 0xfffffffd
je 0x1007371a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10073713
cmp esi, 0xfffffffe
je 0x1007371a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10073713
cmp esi, 0xffffffff
je 0x1007371a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1007371a
sbb edx, edx
or edx, 1
jmp 0x1007371c
xor edx, edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x10073745
mov edx, edi
sub edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
jmp 0x10073745
xor edx, edx
test al, al
setne dl
mov dword [esp + 0x10], edx
jmp 0x10073749
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test edx, edx
jne 0x100734be
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
movzx eax, word [eax + 8]
cmp ecx, eax
je 0x10073843
add esi, 0x28
mov dword [esp + 0x14], esi
cmp ebx, 0x80
jb 0x1007377f
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x10073786
movzx eax, byte [ebx + 0x101ea018]
add edi, eax
shr ebx, 7
xor ecx, ecx
mov dword [esp + 0x18], edi
mov eax, ebx
mov edx, 1
or eax, ecx
je 0x100737ae
nop dword [eax]
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x100737a0
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x24]
jae 0x10073843
cmp edi, dword [esp + 0x2c]
ja 0x10073843
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
jmp 0x100730e0
mov edx, 1
jmp 0x100734be
push 0x10200bd4
push 0x13bb3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10050c50
mov eax, dword [ebp + 8]
add esp, 0x14
mov byte [eax + 0xb], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10200bd4
push 0x13bd1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10050c50
mov eax, dword [ebp + 8]
add esp, 0x14
mov byte [eax + 0xb], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov byte [eax + 0xe], 1
movsx eax, byte [eax + 0xa]
mov esp, ebp
pop ebp
ret