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

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4e7744]
xor eax, esp
mov dword [esp + 0x148], eax
mov ecx, dword [esp + 0x158]
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x58], ecx
push edi
mov edi, dword [esp + 0x15c]
xor ebp, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], ebp
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x140], ebx
mov byte [esp + 0x144], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x424065
pop edi
pop ebp
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004aa4f4
add esp, 0x14c
ret
movzx edx, word [edi + 0x18]
movzx ecx, byte [edi + 0xc]
push esi
lea esi, [ecx + edx]
cmp esi, 2
jae 0x42407c
mov dword [esp + 0x44], ebx
jmp 0x4240b6
mov eax, dword [esp + 0x164]
test eax, eax
jne 0x42408d
mov dword [esp + 0x44], ebx
jmp 0x4240a8
cmp eax, esi
jne 0x4240a3
mov eax, dword [esp + 0x170]
add esi, 0xfffffffe
add esi, eax
mov dword [esp + 0x44], esi
jmp 0x4240af
dec eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x170]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x4240d7
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x4240eb
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov dword [esp + 0x48], ecx
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov edi, edi
test ebp, ebp
jne 0x4241d0
mov eax, dword [esp + 0x28]
cmp edi, dword [eax + 0x30]
jbe 0x424139
push 0x4d6684
push 0x1065a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
add esp, 0x14
mov ebp, 0xb
jmp 0x4241c8
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push 0
push ecx
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4241cc
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 8]
mov dword [esp + esi*4 + 0xb8], eax
cmp byte [eax], 0
jne 0x4241c6
mov ecx, dword [edx + 8]
cmp edi, dword [ecx + 4]
je 0x42419b
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], edi
mov byte [ecx + 9], al
mov eax, dword [esp + esi*4 + 0xb8]
push eax
call fcn.00426720
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x4241c6
mov eax, dword [esp + esi*4 + 0xb8]
test eax, eax
je 0x4241cc
push dword [eax + 0x48]
call fcn.00469790
add esp, 4
jmp 0x4241cc
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
lea eax, [esi*4]
test ebp, ebp
jne 0x425446
mov eax, dword [esp + eax + 0xb8]
cmp dword [eax + 0x14], ebp
jge 0x424206
push eax
call fcn.00425d30
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x424333
mov ecx, esi
dec esi
test ecx, ecx
je 0x42433f
mov edi, dword [esp + 0x30]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x424265
mov eax, dword [esp + 0x44]
movzx ecx, word [edi + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x424265
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + esi*4 + 0x150], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x34]
bswap edi
push eax
mov dword [esp + 0x64], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x60], edi
call eax
mov ecx, dword [esp + 0x38]
add esp, 8
movzx eax, ax
mov dword [esp + esi*4 + 0xd8], eax
mov byte [ecx + 0xc], 0
jmp 0x424100
mov ecx, dword [esp + 0x44]
movzx eax, dl
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ebp, cx
and ebp, eax
add ebp, dword [edi + 0x38]
push ebp
mov dword [esp + esi*4 + 0x150], ebp
mov eax, dword [ebp]
bswap eax
mov dword [esp + 0x60], eax
mov edi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + esi*4 + 0xd8], edx
test byte [eax + 0x18], 0xc
je 0x424306
mov eax, dword [esp + 0x30]
mov ecx, ebp
mov ebx, dword [esp + 0x28]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x28]
mov ebx, 0
jg 0x424306
mov eax, dword [esp + 0x60]
push edx
add eax, ecx
push ebp
push eax
call fcn.004ac060
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
sub eax, dword [ecx + 0x38]
add eax, ebp
mov dword [esp + esi*4 + 0x14c], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
push edx
mov edx, dword [esp + 0x38]
movzx eax, byte [edx + 0xc]
sub ecx, eax
add ecx, esi
push ecx
push edx
call fcn.0042d930
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x424100
lea eax, [esi*4]
jmp 0x425449
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
mov esi, dword [eax + 0x24]
mov eax, 0xaaaaaaab
lea ecx, [esi - 8]
mul ecx
mov edi, edx
shr edi, 2
add edi, 4
imul edi, ebp
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [esi + eax*2]
cdq
push edx
push eax
call fcn.00466e30
add esp, 8
mov dword [esp + 0x80], eax
test eax, eax
jne 0x42438f
mov ebp, 7
mov dword [esp + 0x10], ebp
jmp 0x42545c
mov ecx, dword [esp + 0xb8]
lea eax, [eax + edi*4]
mov dword [esp + 0x84], eax
lea eax, [eax + edi*2]
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx edx, ax
mov al, byte [ecx + 3]
mov byte [esp + 0x17], al
movzx eax, al
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], eax
test ebp, ebp
jle 0x424602
jmp 0x4243e0
shl eax, 2
mov dword [esp + 0x54], eax
mov edi, dword [esp + eax + 0xb8]
mov dword [esp + 0x40], edi
movzx eax, word [edi + 0x1a]
mov ebp, dword [edi + 0x38]
mov ecx, eax
movzx esi, word [edi + 0x12]
movzx edx, word [edi + 0x18]
add esi, ebp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x74], ebp
mov ecx, dword [eax + 0x38]
mov al, byte [ebp]
mov dword [esp + 0x24], esi
cmp al, byte [ecx]
jne 0x424810
movzx eax, byte [edi + 0xc]
mov ecx, dword [esp + 0x84]
add eax, edx
add eax, eax
push eax
mov eax, dword [esp + 0x7c]
push 0
lea eax, [ecx + eax*2]
push eax
call fcn.004ac5e0
mov al, byte [edi + 0xc]
add esp, 0xc
test al, al
je 0x4244e2
movzx edx, word [edi + 0x1c]
cmp dword [esp + 0x38], edx
jb 0x4247e4
test edx, edx
je 0x4244ac
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bx
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x80]
add ecx, ebp
mov dword [eax + edi*4], ecx
inc edi
sub edx, 1
jne 0x424475
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], esi
mov al, byte [edi + 0xc]
xor edx, edx
test al, al
je 0x4244e2
mov ebp, dword [esp + 0x78]
lea ecx, [edi + 0x24]
mov esi, dword [esp + 0x80]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebp*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebp
cmp edx, eax
jl 0x4244c0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x74]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add eax, ebp
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x42452f
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x68]
jmp 0x424500
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bx
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x80]
add ecx, ebp
mov dword [eax + edi*4], ecx
inc edi
cmp esi, edx
jb 0x424500
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x78]
mov dword [esp + edx + 0x118], ebp
cmp eax, dword [esp + 0x4c]
jge 0x4245ef
cmp byte [esp + 0x17], 0
jne 0x4245ef
movzx eax, word [esp + edx + 0xd8]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x20]
push eax
push dword [esp + edx + 0x150]
add esi, ebx
mov word [ecx + ebp*2], ax
add ebx, eax
push esi
mov dword [esp + 0x38], ebx
call fcn.004ac060
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x80]
movzx eax, dx
add eax, esi
mov esi, dword [esp + 0x84]
mov dword [ecx + ebp*4], eax
sub word [esi + ebp*2], dx
cmp byte [edi + 8], 0
jne 0x4245c1
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + ebp*4]
inc ebp
mov dword [esp + 0x78], ebp
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
jmp 0x4245f3
cmp word [esi + ebp*2], 4
jae 0x4245e4
mov eax, dword [esp + 0x20]
lea esp, [esp]
mov byte [eax + ebx], 0
inc ebx
inc word [esi + ebp*2]
cmp word [esi + ebp*2], 4
jb 0x4245d0
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x78], ebp
jmp 0x4245f3
mov edx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x3c]
jl 0x4243e0
mov eax, dword [esp + 0x28]
xor ebx, ebx
movzx ebp, dx
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebp
test eax, eax
jle 0x424706
lea ecx, [ecx]
mov esi, dword [esp + edx*4 + 0xb8]
mov ecx, dword [esp + edx*4 + 0x118]
mov dword [esp + 0x68], ecx
mov eax, dword [esi + 0x3c]
mov dword [esp + ebx*4 + 0x88], eax
mov dword [esp + ebx*4 + 0xa0], ecx
test ebx, ebx
je 0x424665
cmp ecx, dword [esp + ebx*4 + 0x9c]
jne 0x424665
dec ebx
mov dword [esp + 0x1c], ebx
cmp byte [esp + 0x17], 0
jne 0x424689
mov eax, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x3c]
mov dword [esp + ebx*4 + 0x88], eax
lea eax, [ecx + 1]
mov dword [esp + ebx*4 + 0xa0], eax
mov edi, ebp
mov dword [esp + 0x4c], 0
sub edi, dword [esi + 0x14]
lea eax, [esp + 0xd8]
cmp byte [esi + 0xc], 0
lea eax, [eax + edx*4]
mov dword [esp + 0x54], eax
mov dword [eax], edi
jbe 0x4246e9
mov ebx, dword [esp + 0x4c]
lea ebp, [esi + 0x24]
push dword [ebp]
mov eax, dword [esi + 0x4c]
push esi
call eax
movzx eax, ax
lea ebp, [ebp + 4]
add eax, 2
inc ebx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ebx, eax
jl 0x4246b3
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
inc ebx
mov dword [esp + edx*4 + 0xec], ecx
inc edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
cmp edx, eax
jl 0x424630
mov ebx, dword [esp + 0x78]
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], 0
test eax, eax
jle 0x424930
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x424730
mov edi, dword [esp + ebp + 0xd8]
mov edx, dword [esp + 0x2c]
cmp edi, edx
jle 0x424866
cmp eax, ecx
jl 0x424770
lea ecx, [eax + 1]
mov dword [esp + 0x20], ecx
cmp ecx, 5
jg 0x424a85
mov dword [esp + ebp + 0xdc], 0
mov edi, dword [esp + ebp + 0xd8]
mov dword [esp + ebp + 0xf0], ebx
mov esi, dword [esp + ebp + 0xec]
mov ecx, dword [esp + 0x84]
lea ebx, [esi - 1]
movzx eax, word [ecx + ebx*2]
test ax, ax
jne 0x4247a2
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.0042a640
mov ecx, dword [esp + 0x8c]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + ebp + 0xd8], edi
jne 0x42483e
cmp esi, dword [esp + 0x78]
jge 0x42483c
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x4247dc
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0042a640
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x42483e
push 0x4d6684
push 0x11c23
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
push 0x4d6684
push 0x11c0b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
xor eax, eax
add dword [esp + ebp + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + ebp + 0xec], ebx
mov ebx, dword [esp + 0x78]
cmp edi, dword [esp + 0x2c]
jg 0x424743
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + ebp + 0xec]
cmp esi, ebx
jge 0x424911
mov ecx, dword [esp + 0x84]
lea esp, [esp]
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x4248a5
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0042a640
mov ecx, dword [esp + 0x8c]
add esp, 8
mov edx, dword [esp + 0x2c]
movzx eax, ax
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, edx
jg 0x424a59
inc esi
mov dword [esp + ebp + 0xd8], edi
cmp byte [esp + 0x17], 0
mov dword [esp + ebp + 0xec], esi
jne 0x4248fe
cmp esi, ebx
jge 0x4248fc
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x4248f4
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0042a640
mov ecx, dword [esp + 0x8c]
add esp, 8
mov edx, dword [esp + 0x2c]
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x4248fe
xor eax, eax
sub dword [esp + ebp + 0xdc], eax
cmp esi, ebx
jl 0x424880
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x20], ecx
inc edx
inc eax
add ebp, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], eax
cmp edx, ecx
jl 0x424730
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x424b21
shl ecx, 2
mov dword [esp + 0x40], ecx
mov eax, dword [esp + ecx + 0xd4]
mov edi, dword [esp + ecx + 0xd8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xec]
sub eax, 4
mov dword [esp + 0x38], eax
mov ebp, dword [eax + ecx]
mov ecx, dword [esp + 0x84]
lea esi, [ebp - 1]
mov eax, esi
sub eax, dword [esp + 0x6c]
inc eax
cmp word [ecx + eax*2], 0
lea ecx, [ecx + eax*2]
mov dword [esp + 0x4c], ecx
jne 0x424998
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0042a640
add esp, 8
mov ebx, dword [esp + 0x4c]
lea esp, [esp]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
cmp word [eax + esi*2], 0
jne 0x4249c4
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0042a640
add esp, 8
test edi, edi
je 0x424a13
cmp dword [esp + 0x170], 0
mov edx, ebp
jne 0x424add
mov ecx, dword [esp + 0x20]
mov eax, 2
mov ebp, dword [esp + 0x1c]
dec ecx
cmp dword [esp + 0x24], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, ebp
sub ecx, eax
mov eax, dword [esp + 0x84]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x424ae1
movzx eax, word [ebx]
mov ecx, 0xfffffffe
mov ebp, dword [esp + 0x4c]
add eax, 2
mov edx, dword [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0x84]
sub ebx, 2
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + eax], esi
sub esi, 1
jns 0x4249a0
mov ebp, dword [esp + 0x1c]
jmp 0x424ae5
cmp esi, ebx
jge 0x42490d
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x424a72
mov eax, dword [esp + ebp + 0xe8]
jmp 0x424a74
xor eax, eax
cmp esi, eax
jle 0x424ab1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x42491b
push 0x4d6684
push 0x11c88
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
push 0x4d6684
push 0x11ca9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x78]
mov dword [esp + eax + 0xd8], edi
mov dword [esp + eax + 0xd4], ebp
cmp ecx, 1
jbe 0x424b0a
mov esi, dword [esp + 0x38]
mov eax, dword [esi + eax - 4]
jmp 0x424b0c
xor eax, eax
cmp edx, eax
jle 0x424b8a
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x424941
mov eax, dword [esp + 0xb8]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cmp dword [esp + 0x20], esi
jle 0x424cf6
cmp esi, dword [esp + 0x3c]
jge 0x424c20
mov edi, dword [esp + esi*4 + 0xb8]
mov dword [esp + esi*4 + 0xc4], edi
mov dword [esp + esi*4 + 0xb8], 0
mov dword [esp + 0x38], edi
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x424bba
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x424bba
cmp dword [edx + 0x60], 0
je 0x424bb6
push ecx
call fcn.004917e0
jmp 0x424be0
push 0x4d6684
push 0x11cd3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
xor ebp, ebp
jmp 0x424be5
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x424be9
mov eax, dword [edx + 0x94]
push ecx
cmp eax, dword [edx + 0x98]
jbe 0x424bdb
call fcn.0043f400
jmp 0x424be0
call fcn.004406a0
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x164]
xor ecx, ecx
sub eax, dword [esp + 0x44]
inc dword [esp + 0x34]
cmp esi, eax
mov eax, dword [edi + 0x48]
sete cl
mov dword [esp + 0x18], ebp
inc ecx
movsx eax, word [eax + 0x1e]
cmp eax, ecx
jne 0x424cca
test ebp, ebp
jne 0x425046
jmp 0x424cb9
cmp dword [esp + 0x170], 0
mov ecx, dword [esp + 0x5c]
push 0
cmovne ecx, eax
lea eax, [esp + 0x5c]
push ecx
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x38]
call fcn.004212d0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x425046
push dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
push edi
call fcn.004a7ee0
mov ecx, dword [esp + 0x30]
add esp, 8
inc dword [esp + 0x34]
mov dword [esp + esi*4 + 0xc4], edi
mov dword [esp + esi*4 + 0x118], ebx
cmp byte [ecx + 0x11], 0
je 0x424cb1
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
push dword [eax + 4]
push 5
push dword [edi + 4]
push ecx
call fcn.00442bf0
mov ebp, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x425046
mov edi, dword [esp + 0x58]
mov dword [esp + 0x5c], edi
inc esi
cmp esi, dword [esp + 0x20]
jge 0x424cf6
mov eax, 1
jmp 0x424b41
push 0x4d6684
push 0x11cf2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
mov ebp, dword [esp + 0x34]
xor ecx, ecx
test ebp, ebp
jle 0x424dff
jmp 0x424d10
mov eax, dword [esp + ecx*4 + 0xc4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x12c], edx
mov dword [esp + ecx*4 + 0x100], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0x14c], ax
xor eax, eax
test ecx, ecx
jle 0x424d52
lea ecx, [ecx]
cmp dword [esp + eax*4 + 0x12c], edx
je 0x424ec0
inc eax
cmp eax, ecx
jl 0x424d40
inc ecx
cmp ecx, ebp
jl 0x424d10
xor ebx, ebx
lea esp, [esp]
xor esi, esi
lea ecx, [esi + 1]
cmp ebp, ecx
jle 0x424d90
xor edi, edi
jmp 0x424d70
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0x100]
cmp eax, dword [esp + edi + 0x100]
jae 0x424d8b
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebp
jl 0x424d70
mov edi, dword [esp + esi*4 + 0x100]
mov dword [esp + esi*4 + 0x100], 0xffffffff
cmp esi, ebx
je 0x424df6
jle 0x424dcc
mov eax, dword [esp + 0x28]
xor edx, edx
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + esi*4 + 0xc4]
inc ecx
add ecx, esi
push ecx
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], dx
call fcn.0046a4b0
add esp, 8
mov eax, dword [esp + ebx*4 + 0xc4]
push edi
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0x150]
push ecx
mov word [ecx + 0x1c], ax
call fcn.0046a4b0
mov eax, dword [esp + ebx*4 + 0xcc]
add esp, 8
mov dword [eax + 4], edi
inc ebx
cmp ebx, ebp
jl 0x424d60
test byte [esp + 0x24], 8
mov eax, dword [esp + ebp*4 + 0xc0]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x424e48
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
je 0x424e48
lea edx, [esp + 0xb8]
lea eax, [esp + 0xc4]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + ebp*4 + 0xc0]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x4250bf
mov esi, dword [esp + 0xc4]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x48], 0
movzx eax, byte [esi + 0xc]
movzx ebx, word [esi + 0x18]
add ebx, eax
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x4250c6
mov edx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edx
lea esp, [esp]
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x24], ecx
cmp ebp, ebx
jne 0x424f0d
xor edx, edx
cmp byte [esp + 0x17], dl
sete dl
jmp 0x424eb0
inc edi
cmp edi, dword [esp + 0x34]
jge 0x424eec
mov esi, dword [esp + edi*4 + 0xc4]
jmp 0x424ef3
push 0x4d6684
push 0x11d20
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
mov esi, dword [esp + edi*4 + 0xb8]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
add ebx, ecx
cmp ebp, ebx
je 0x424eb0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
cmp ebp, dword [esp + ecx + 0xec]
mov ecx, dword [esp + 0x24]
jne 0x424f44
mov edx, dword [esp + 0x48]
inc edx
mov dword [esp + 0x48], edx
shl edx, 2
cmp byte [esp + 0x17], 0
mov dword [esp + 0x38], edx
mov edx, dword [esp + edx + 0xc4]
mov dword [esp + 0x20], edx
je 0x4250b6
cmp edi, dword [esp + 0x34]
jge 0x424f64
mov eax, dword [edx + 4]
cmp eax, dword [esp + edi*4 + 0x12c]
jne 0x424f64
cmp ecx, dword [esi + 0x38]
jb 0x424f64
cmp ecx, dword [esi + 0x3c]
jb 0x4250b2
cmp word [esp + 0x50], 0
jne 0x424f93
lea eax, [esp + 0x18]
push eax
push dword [edx + 4]
mov eax, dword [ecx]
push 5
bswap eax
push eax
push dword [esp + 0x38]
call fcn.00442bf0
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
movzx eax, word [eax + ebp*2]
test ax, ax
jne 0x424fb8
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.0042a640
mov edx, dword [esp + 0x28]
add esp, 8
movzx eax, ax
cmp ax, word [edx + 0x10]
jbe 0x42503a
cmp dword [esp + 0x10], 0
jne 0x425042
lea eax, [esp + 0x100]
push eax
push dword [esp + 0x28]
mov eax, dword [edx + 0x50]
push edx
call eax
movzx eax, word [esp + 0x11c]
add esp, 0xc
cmp eax, dword [esp + 0x10c]
jae 0x4250ae
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jb 0x425004
add eax, ecx
cmp edx, eax
jb 0x425131
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
movzx eax, word [esp + 0x116]
push dword [edx + 4]
mov eax, dword [eax + ecx - 4]
push 3
bswap eax
push eax
push dword [edx + 0x34]
call fcn.00442bf0
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jmp 0x42503e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4250b2
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x42545c
cmp dword [0x4e6008], 0
je 0x42543a
mov eax, dword [0x4e86d8]
test eax, eax
je 0x425075
push eax
call dword [0x4e6058]
add esp, 4
push ebx
call dword [0x4e6034]
sub dword [0x4e8678], eax
dec dword [0x4e869c]
push ebx
call dword [0x4e602c]
mov eax, dword [0x4e86d8]
add esp, 8
test eax, eax
je 0x42545c
push eax
call dword [0x4e6060]
add esp, 4
jmp 0x42545c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
inc ebp
cmp ebp, eax
jl 0x424e90
mov esi, dword [esp + 0xc4]
mov ebx, dword [esp + 0x34]
xor edi, edi
lea eax, [ebx - 1]
test eax, eax
jle 0x425245
jmp 0x4250e0
mov eax, dword [esp + edi*4 + 0xec]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + edi*4 + 0xc4]
mov ebx, dword [esp + 0x60]
add ebx, dword [esp + 0x64]
movzx eax, word [edx + eax*2]
mov esi, dword [ecx]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x50]
movzx edx, bp
mov ebp, dword [esp + 0x6c]
add edx, eax
cmp byte [ebp + 8], 0
jne 0x42515d
mov ecx, dword [ebp + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x4251fc
push 0x4d6684
push 0x10343
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x425046
cmp byte [esp + 0x17], 0
je 0x4251e3
lea eax, [esp + 0x12c]
push eax
push dword [ecx - 4]
mov eax, dword [ebp + 0x50]
push ebp
call eax
mov edx, dword [esp + 0x13c]
mov esi, ebx
mov ecx, dword [esp + 0x138]
add esp, 0xc
add ebx, 4
test edx, edx
ja 0x4251d1
jb 0x425196
cmp ecx, 0x7f
ja 0x4251a7
mov eax, 1
and cl, 0x7f
mov byte [ebx], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x4251fc
test edx, edx
ja 0x4251d1
jb 0x4251b5
cmp ecx, 0x3fff
ja 0x4251d1
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 1], cl
or al, 0x80
mov byte [ebx], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x4251fc
push edx
push ecx
push ebx
call fcn.00443350
add esp, 0xc
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x4251fc
sub esi, 4
cmp eax, 4
jne 0x4251fc
mov eax, dword [esp + 0x30]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x64], edx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 4]
mov eax, dword [esp + 0x4c]
push ebx
push edx
push esi
add eax, edi
push eax
push dword [esp + 0x48]
call fcn.004387a0
mov ebp, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x425046
mov ebx, dword [esp + 0x34]
inc edi
lea eax, [ebx - 1]
cmp edi, eax
jl 0x4250e0
mov esi, dword [esp + 0xc4]
mov edi, 1
sub edi, ebx
mov dword [esp + 0x48], edi
cmp edi, ebx
jge 0x425336
mov ebp, dword [esp + 0xec]
nop
mov eax, edi
lea ebx, [esp + 0x144]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x42531e
test edi, edi
jns 0x425293
mov eax, dword [esp + ecx*4 + 0x114]
cmp eax, dword [esp + ecx*4 + 0xe8]
jl 0x42531e
test ecx, ecx
jne 0x42529f
xor eax, eax
mov esi, ebp
xor edx, edx
jmp 0x4252d4
cmp ecx, dword [esp + 0x3c]
jge 0x4252b7
xor eax, eax
cmp byte [esp + 0x17], al
sete al
add eax, dword [esp + ecx*4 + 0x114]
jmp 0x4252bb
mov eax, dword [esp + 0x78]
mov esi, dword [esp + ecx*4 + 0xec]
xor edx, edx
cmp byte [esp + 0x17], dl
sete dl
add edx, dword [esp + ecx*4 + 0xe8]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [esp + 0x78]
push ecx
push esi
push edx
push eax
push dword [esp + edi + 0xd4]
call fcn.0042db10
add esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
test eax, eax
jne 0x425042
mov eax, dword [esp + edi + 0xc4]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + edi + 0xd8]
mov edi, dword [esp + 0x48]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
mov ebx, dword [esp + 0x34]
inc edi
mov dword [esp + 0x48], edi
cmp edi, ebx
jl 0x425260
mov esi, dword [esp + 0xc4]
cmp dword [esp + 0x16c], 0
je 0x42539f
mov ebp, dword [esp + 0x30]
cmp word [ebp + 0x18], 0
jne 0x42539f
movzx eax, byte [ebp + 9]
cmp eax, dword [esi + 0x14]
jg 0x42539f
push 0xffffffffffffffff
push esi
call fcn.0042cd10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebp
push dword [esp + 0xd4]
call fcn.0042c230
mov ebp, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4253fa
mov eax, dword [esp + 0xc4]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00435280
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
jmp 0x4253fa
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x11], 0
je 0x4253f6
cmp word [esp + 0x50], 0
jne 0x4253f6
xor esi, esi
test ebx, ebx
jle 0x4253f6
jmp 0x4253c0
mov eax, dword [esp + esi*4 + 0xc4]
lea edx, [esp + 0x18]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov eax, dword [eax + 8]
bswap eax
push eax
push ecx
call fcn.00442bf0
mov ecx, dword [esp + 0x3c]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x4253c0
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
jmp 0x4253fa
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov esi, ebx
cmp ebx, edi
jge 0x425046
jmp 0x425410
mov eax, dword [esp + esi*4 + 0xb8]
test ebp, ebp
jne 0x42542c
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00435280
add esp, 0xc
mov ebp, eax
inc esi
cmp esi, edi
jl 0x425410
mov dword [esp + 0x10], ebp
jmp 0x425046
push ebx
call dword [0x4e602c]
add esp, 4
jmp 0x42545c
add eax, 4
push eax
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.004ac5e0
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
jle 0x4254d5
mov ebp, dword [esp + 0x3c]
jmp 0x425470
mov edx, dword [esp + ebx*4 + 0xb8]
test edx, edx
je 0x4254cc
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4254c3
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x4254cc
push edx
call fcn.0046a550
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x425470
mov ebp, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jle 0x425546
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + ebx*4 + 0xc4]
test edx, edx
je 0x42553d
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x425534
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x42553d
push edx
call fcn.0046a550
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x4254e1
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x158]
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aa4f4
add esp, 0x14c
ret