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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4dac40]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov eax, dword [ebx + 0x34]
xor edi, edi
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xe8], eax
test ecx, ecx
jne 0x425ac2
pop edi
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a9190
mov esp, ebp
pop ebp
ret
movzx edx, word [ebx + 0x18]
movzx ecx, byte [ebx + 0xc]
push esi
lea esi, [ecx + edx]
cmp esi, 2
jge 0x425adb
mov dword [ebp - 0x108], edi
jmp 0x425b0f
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x425aea
mov dword [ebp - 0x108], edi
jmp 0x425b05
cmp eax, esi
jne 0x425afe
mov eax, dword [ebp + 0x18]
add esi, 0xfffffffe
add esi, eax
mov dword [ebp - 0x108], esi
jmp 0x425b08
dec eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x18]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x108]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x425b30
movzx ecx, byte [ebx + 9]
add ecx, 8
jmp 0x425b44
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
mov dword [ebp - 0x110], ecx
mov ebx, dword [ecx]
bswap ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x10c], ebx
lea ecx, [ecx]
test edi, edi
jne 0x42706f
mov eax, dword [ebp - 0xe8]
cmp ebx, dword [eax + 0x30]
jbe 0x425b9b
push 0x4cc94c
push 0x1084a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov edi, 0xb
jmp 0x425c31
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xe0]
push ecx
push ebx
push eax
mov eax, dword [eax + 0xcc]
call eax
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc8], edi
test edi, edi
jne 0x425c37
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 8]
mov dword [ebp + esi*4 - 0x120], eax
cmp byte [eax], 0
jne 0x425c2f
mov ecx, dword [edx + 8]
cmp ebx, dword [ecx + 4]
je 0x425bfe
mov eax, dword [edx + 4]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xe8]
cmp ebx, 1
mov dword [ecx + 0x34], eax
setne al
dec al
and al, 0x64
mov dword [ecx + 0x48], edx
mov dword [ecx + 4], ebx
mov byte [ecx + 9], al
push dword [ebp + esi*4 - 0x120]
call fcn.00428360
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
test edi, edi
je 0x425c2f
mov eax, dword [ebp + esi*4 - 0x120]
test eax, eax
je 0x425c37
push eax
call fcn.00444050
add esp, 4
jmp 0x425c37
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], edi
test edi, edi
jne 0x42706f
mov eax, dword [ebp + esi*4 - 0x120]
cmp dword [eax + 0x14], edi
jge 0x425c70
push eax
call fcn.00427950
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], edi
test edi, edi
jne 0x425da6
mov ecx, esi
dec esi
test ecx, ecx
je 0x425db2
mov ebx, dword [ebp - 0xf8]
mov dl, byte [ebx + 0xc]
test dl, dl
je 0x425cd5
movzx ecx, word [ebx + 0x1c]
mov eax, dword [ebp - 0x108]
add eax, esi
cmp eax, ecx
jne 0x425cd5
mov eax, dword [ebx + 0x24]
push eax
mov ebx, dword [eax]
bswap ebx
mov dword [ebp + esi*4 - 0x10], eax
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x10c], ebx
call eax
movzx eax, ax
mov dword [ebp + esi*4 - 0x2c], eax
mov eax, dword [ebp - 0xf8]
add esp, 8
mov byte [eax + 0xc], 0
jmp 0x425b60
mov ecx, dword [ebp - 0x108]
movzx eax, dl
sub ecx, eax
mov eax, dword [ebx + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [ebx + 0x38]
add eax, ecx
push eax
mov ecx, dword [eax]
bswap ecx
mov dword [ebp + esi*4 - 0x10], eax
mov eax, dword [ebx + 0x4c]
push ebx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x10c], ecx
call eax
mov edx, dword [ebp - 0xe8]
movzx ebx, ax
add esp, 8
test byte [edx + 0x18], 0xc
mov dword [ebp + esi*4 - 0x2c], ebx
je 0x425d69
mov edi, dword [ebp + esi*4 - 0x10]
mov eax, dword [ebp - 0xf8]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x28]
jg 0x425d69
mov eax, dword [ebp - 0x13c]
push ebx
add eax, ecx
push edi
push eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0xf8]
add esp, 0xc
sub edi, dword [eax + 0x38]
add edi, dword [ebp - 0x13c]
mov dword [ebp + esi*4 - 0x10], edi
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0xd0]
push eax
push ebx
mov ebx, dword [ebp - 0xf8]
movzx eax, byte [ebx + 0xc]
sub ecx, eax
add ecx, esi
push ecx
push ebx
call fcn.0042fb40
mov edi, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0x100]
add esp, 0x10
mov dword [ebp - 0xc8], edi
jmp 0x425b60
lea eax, [esi*4]
jmp 0x427076
mov eax, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xec]
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, ebx
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [esi + eax*2]
cdq
push edx
push eax
call fcn.00464e80
add esp, 8
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x425e06
mov dword [ebp - 0xc8], 7
jmp 0x427088
mov ecx, dword [ebp - 0x120]
lea eax, [eax + edi*4]
mov dword [ebp - 0xb8], eax
lea eax, [eax + edi*2]
movzx edi, byte [ecx + 3]
mov dword [ebp - 0xe0], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x114], eax
xor eax, eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xd4], eax
test ebx, ebx
jle 0x4260c6
xor ebx, ebx
jmp 0x425e60
shl eax, 2
mov dword [ebp - 0x104], eax
mov edi, dword [ebp + eax - 0x120]
mov dword [ebp - 0xf0], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
movzx esi, word [edi + 0x12]
mov dword [ebp - 0xcc], eax
movzx eax, word [edi + 0x1a]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x120]
add esi, edx
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xe4], esi
cmp al, byte [ecx]
jne 0x426315
movzx eax, byte [edi + 0xc]
add eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb8]
add eax, eax
push eax
mov eax, dword [ebp - 0xc4]
push 0
lea eax, [ecx + eax*2]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x425f7e
movzx edx, word [edi + 0x1c]
cmp dword [ebp - 0xcc], edx
jl 0x4262e8
test edx, edx
jle 0x425f44
jmp 0x425f00
mov ax, word [esi]
mov edi, dword [ebp - 0xd8]
mov ch, al
add esi, 2
mov cl, ah
movzx eax, cx
movzx ecx, di
mov edi, dword [ebp - 0xbc]
and eax, ecx
mov ecx, dword [ebp - 0xc4]
add eax, dword [ebp - 0xf4]
inc ecx
mov dword [edi + ecx*4 - 4], eax
mov dword [ebp - 0xc4], ecx
dec edx
jne 0x425f00
mov edi, dword [ebp - 0xf0]
mov dword [ebp - 0xe4], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x425f7e
mov esi, dword [ebp - 0xc4]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
mov edi, dword [ebp - 0xbc]
inc edx
mov dword [edi + esi*4], eax
mov edi, dword [ebp - 0xf0]
inc esi
movzx eax, byte [edi + 0xc]
lea ecx, [ecx + 4]
cmp edx, eax
jl 0x425f54
mov dword [ebp - 0xc4], esi
mov esi, dword [ebp - 0xe4]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add eax, dword [ebp - 0xf4]
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x425fe2
mov eax, dword [ebp - 0xd8]
movzx eax, ax
mov dword [ebp - 0xcc], eax
mov edi, eax
mov ax, word [esi]
mov ch, al
add esi, 2
mov cl, ah
movzx eax, cx
mov ecx, dword [ebp - 0xc4]
and eax, edi
add eax, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xbc]
inc ecx
mov dword [edi + ecx*4 - 4], eax
mov edi, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
cmp esi, edx
jb 0x425fa4
mov edi, dword [ebp - 0xf0]
jmp 0x425fe8
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0x104]
dec eax
mov dword [ebp + edx - 0x6c], ecx
cmp dword [ebp - 0xd4], eax
jge 0x4260a7
cmp dword [ebp - 0xfc], 0
jne 0x4260a7
movzx eax, word [ebp + edx - 0x2c]
mov esi, dword [ebp - 0xb8]
push eax
push dword [ebp + edx - 0x10]
mov word [esi + ecx*2], ax
mov esi, dword [ebp - 0xe0]
add esi, ebx
push esi
add ebx, eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xbc]
movzx eax, ax
add eax, esi
mov esi, dword [ebp - 0xb8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x114]
sub word [esi + ecx*2], ax
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x42607c
mov eax, dword [edi + 0x38]
mov ecx, dword [edx + ecx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc4]
jmp 0x4260a0
cmp word [esi + ecx*2], 4
jae 0x4260a0
mov eax, dword [ebp - 0xe0]
lea esp, [esp]
mov byte [eax + ebx], 0
inc word [esi + ecx*2]
inc ebx
cmp word [esi + ecx*2], 4
jb 0x426090
inc ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xec]
jl 0x425e60
mov edi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x114]
movzx esi, ax
mov eax, dword [ebp - 0xe8]
xor ebx, ebx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add esi, eax
mov eax, dword [ebp - 0xec]
xor edx, edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xcc], edx
test eax, eax
jle 0x426203
mov esi, dword [ebp + edx*4 - 0x120]
mov ecx, dword [ebp + edx*4 - 0x6c]
mov eax, dword [esi + 0x3c]
mov dword [ebp + ebx*4 - 0xb4], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp + ebx*4 - 0x9c], ecx
test ebx, ebx
je 0x426137
cmp ecx, dword [ebp + ebx*4 - 0xa0]
jne 0x426137
dec ebx
mov dword [ebp - 0xd4], ebx
test edi, edi
jne 0x42615c
mov eax, dword [ebp - 0xf8]
inc ebx
mov eax, dword [eax + 0x3c]
mov dword [ebp + ebx*4 - 0xb4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], ebx
mov dword [ebp + ebx*4 - 0x9c], eax
mov edi, dword [ebp - 0xf4]
sub edi, dword [esi + 0x14]
cmp byte [esi + 0xc], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x104], 0
lea eax, [eax + edx*4]
mov dword [ebp - 0xe4], eax
mov dword [eax], edi
jbe 0x4261d7
mov ebx, dword [ebp - 0x104]
lea ecx, [esi + 0x24]
mov dword [ebp - 0xe0], ecx
push dword [ecx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [ebp - 0xe0]
movzx eax, ax
add eax, 2
add edi, eax
movzx eax, byte [esi + 0xc]
inc ebx
add ecx, 4
add esp, 8
mov dword [ebp - 0xe0], ecx
cmp ebx, eax
jl 0x426192
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xcc]
mov dword [eax], edi
mov eax, dword [ebp - 0xec]
mov edi, dword [ebp - 0xfc]
mov dword [ebp + edx*4 - 0x40], ecx
inc edx
inc ebx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], ebx
cmp edx, eax
jl 0x426101
mov esi, dword [ebp - 0xf4]
mov ecx, eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xf0], 0
test eax, eax
jle 0x426469
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
xor ebx, ebx
mov edi, 1
sub eax, 4
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0x104], eax
lea esp, [esp]
cmp dword [ebp + ebx - 0x2c], esi
jle 0x42636e
lea ebx, [ebx]
cmp edi, ecx
jl 0x426272
lea ecx, [edi + 1]
mov dword [ebp - 0xd4], ecx
cmp ecx, 5
jg 0x426577
mov dword [ebp + ebx - 0x28], 0
mov dword [ebp + ebx - 0x3c], edx
mov esi, dword [ebp + ebx - 0x40]
mov ecx, dword [ebp - 0xb8]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x4262a1
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042ca90
mov ecx, dword [ebp - 0xb8]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub dword [ebp + ebx - 0x2c], eax
cmp dword [ebp - 0xfc], 0
jne 0x426344
cmp esi, dword [ebp - 0xc4]
jge 0x426342
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x4262e0
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042ca90
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x426344
push 0x4cc94c
push 0x11e21
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
push 0x4cc94c
push 0x11e09
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
xor eax, eax
mov esi, dword [ebp - 0xf4]
add dword [ebp + ebx - 0x28], eax
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + ebx - 0x40], edi
mov edi, dword [ebp - 0xd8]
cmp dword [ebp + ebx - 0x2c], esi
jg 0x426250
cmp dword [ebp + ebx - 0x40], edx
jge 0x426414
mov edi, dword [ebp - 0xb8]
mov edi, edi
mov esi, dword [ebp + ebx - 0x40]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x4263a6
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042ca90
mov edx, dword [ebp - 0xc4]
add esp, 8
movzx eax, ax
movzx ecx, ax
mov eax, dword [ebp + ebx - 0x2c]
add ecx, 2
add eax, ecx
cmp eax, dword [ebp - 0xf4]
jg 0x426408
inc esi
cmp dword [ebp - 0xfc], 0
mov dword [ebp + ebx - 0x2c], eax
mov dword [ebp + ebx - 0x40], esi
jne 0x4263fc
cmp esi, edx
jge 0x4263fa
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x4263f2
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042ca90
mov edx, dword [ebp - 0xc4]
add esp, 8
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x4263fc
xor ecx, ecx
sub dword [ebp + ebx - 0x28], ecx
cmp esi, edx
jl 0x426380
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xf4]
mov ecx, dword [ebp + ebx - 0x40]
cmp ecx, edx
jl 0x426426
mov ecx, edi
mov dword [ebp - 0xd4], ecx
jmp 0x42644a
cmp dword [ebp - 0xf0], 0
jle 0x42643a
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + ebx]
jmp 0x42643c
xor eax, eax
cmp ecx, eax
jle 0x4265a4
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xf0]
inc eax
inc edi
add ebx, 4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xd8], edi
cmp eax, ecx
jl 0x426240
lea eax, [ecx - 1]
mov ecx, eax
mov dword [ebp - 0xcc], eax
test ecx, ecx
jle 0x426610
lea esp, [esp]
shl ecx, 2
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + ecx - 0x30]
mov edi, dword [ebp + ecx - 0x2c]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x40]
sub eax, 4
mov dword [ebp - 0xe4], eax
mov esi, dword [ecx + eax]
mov ecx, dword [ebp - 0xb8]
dec esi
mov eax, esi
sub eax, dword [ebp - 0xfc]
inc eax
cmp word [ecx + eax*2], 0
lea ebx, [ecx + eax*2]
jne 0x4264d6
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042ca90
add esp, 8
mov ecx, dword [ebp - 0xb8]
cmp word [ecx + esi*2], 0
jne 0x4264ed
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042ca90
add esp, 8
mov edx, dword [ebp - 0xf0]
test edi, edi
je 0x42653b
cmp dword [ebp + 0x18], 0
jne 0x4265d1
mov ecx, dword [ebp - 0xd4]
dec ecx
cmp dword [ebp - 0xcc], ecx
mov ecx, 0
mov eax, 2
cmove eax, ecx
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x4265d1
movzx eax, word [ebx]
add eax, 2
add edi, eax
mov eax, dword [ebp - 0xb8]
mov ecx, 0xfffffffe
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [ebp - 0xd8]
add edx, ecx
mov ecx, dword [ebp - 0xe4]
sub ebx, 2
mov dword [eax + ecx], esi
dec esi
mov dword [ebp - 0xf0], edx
jns 0x4264d0
jmp 0x4265d7
push 0x4cc94c
push 0x11e86
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
push 0x4cc94c
push 0x11ea7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x30], edx
mov edx, dword [ebp - 0xe4]
mov dword [ebp + eax - 0x2c], edi
cmp ecx, 1
jle 0x4265f6
mov eax, dword [eax + edx - 4]
jmp 0x4265f8
xor eax, eax
cmp dword [edx + ecx*4], eax
jle 0x426698
dec ecx
mov dword [ebp - 0xcc], ecx
test ecx, ecx
jg 0x426480
mov eax, dword [ebp - 0x120]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
mov dword [ebp - 0xcc], ebx
lea eax, [edi + 1]
cmp dword [ebp - 0xd4], edi
jle 0x426840
cmp edi, dword [ebp - 0xec]
jge 0x42674d
mov ebx, dword [ebp + edi*4 - 0x120]
mov dword [ebp + edi*4 - 0x134], ebx
mov dword [ebp + edi*4 - 0x120], 0
mov esi, dword [ebx + 0x48]
mov dword [ebp - 0xe0], ebx
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x4266db
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x4266db
cmp dword [ecx + 0x60], 0
je 0x4266d7
push esi
call fcn.0048c830
add esp, 4
test eax, eax
je 0x4266c5
push esi
call fcn.0048c950
add esp, 4
mov dword [ebp - 0xc8], eax
mov edx, eax
jmp 0x42670e
push 0x4cc94c
push 0x11ed1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
mov dword [ebp - 0xc8], 0
mov edx, dword [ebp - 0xc8]
jmp 0x42670e
xor edx, edx
jmp 0x426708
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xc8], edx
test edx, edx
jne 0x42670e
mov eax, dword [ecx + 0x94]
push esi
cmp eax, dword [ecx + 0x98]
jbe 0x4266fe
call fcn.0043f440
jmp 0x426703
call fcn.00440720
mov edx, eax
add esp, 4
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x108]
inc dword [ebp - 0xdc]
xor ecx, ecx
cmp edi, eax
mov eax, dword [ebx + 0x48]
sete cl
movsx eax, word [eax + 0x1e]
mov dword [ebp - 0xd0], edx
inc ecx
cmp eax, ecx
jne 0x426813
test edx, edx
jne 0x42700b
mov ebx, dword [ebp - 0xcc]
jmp 0x426800
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x100]
push 0
cmovne ecx, eax
push ecx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0xe8]
call fcn.004235e0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x42700b
mov esi, dword [ebp - 0xe0]
push ebx
push esi
call fcn.004a1e60
mov ecx, dword [ebp - 0xe8]
inc dword [ebp - 0xdc]
mov eax, dword [ebp - 0xc4]
add esp, 8
mov dword [ebp + edi*4 - 0x134], esi
cmp byte [ecx + 0x11], 0
mov dword [ebp + edi*4 - 0x6c], eax
je 0x4267f4
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xf8]
push dword [eax + 4]
push 5
push dword [esi + 4]
push ecx
call fcn.00442960
mov eax, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], eax
test eax, eax
jne 0x42700b
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x100], eax
inc edi
cmp edi, dword [ebp - 0xd4]
jge 0x426840
mov eax, 1
jmp 0x426633
push 0x4cc94c
push 0x11ef0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
mov ebx, dword [ebp - 0xdc]
xor ecx, ecx
test ebx, ebx
jle 0x426888
lea esp, [esp]
mov eax, dword [ebp + ecx*4 - 0x134]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [ebp + ecx*4 - 0x80], edx
mov ax, word [eax + 0x1c]
mov word [ebp + ecx*2 - 0x10], ax
xor eax, eax
mov dword [ebp + ecx*4 - 0x54], edx
test ecx, ecx
jle 0x426883
cmp dword [ebp + eax*4 - 0x80], edx
je 0x426a32
inc eax
cmp eax, ecx
jl 0x426874
inc ecx
cmp ecx, ebx
jl 0x426850
mov edi, dword [ebp - 0xdc]
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
test edi, edi
jle 0x426945
mov edi, edi
xor esi, esi
lea ecx, [esi + 1]
cmp edi, ecx
jle 0x4268d1
mov ebx, dword [ebp - 0xdc]
xor edi, edi
lea edx, [ecx*4]
mov eax, dword [ebp + edx - 0x54]
cmp eax, dword [ebp + edi - 0x54]
jae 0x4268c6
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebx
jl 0x4268b1
mov ebx, dword [ebp - 0xe0]
mov edi, dword [ebp + esi*4 - 0x54]
mov dword [ebp + esi*4 - 0x54], 0xffffffff
cmp esi, ebx
je 0x426930
jle 0x426909
mov eax, dword [ebp - 0xe8]
xor edx, edx
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + esi*4 - 0x134]
inc ecx
mov eax, dword [eax + 0x48]
add ecx, esi
push ecx
push eax
mov word [eax + 0x1c], dx
call fcn.00468560
add esp, 8
mov eax, dword [ebp + ebx*4 - 0x134]
push edi
mov ecx, dword [eax + 0x48]
mov ax, word [ebp + esi*2 - 0x10]
push ecx
mov word [ecx + 0x1c], ax
call fcn.00468560
mov eax, dword [ebp + ebx*4 - 0x134]
add esp, 8
mov dword [eax + 4], edi
mov edi, dword [ebp - 0xdc]
inc ebx
mov dword [ebp - 0xe0], ebx
cmp ebx, edi
jl 0x4268a0
test byte [ebp - 0xcc], 8
mov eax, dword [ebp + edi*4 - 0x138]
mov ecx, dword [ebp - 0x110]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x426994
mov ecx, dword [ebp - 0xec]
cmp ecx, edi
je 0x426994
lea edx, [ebp - 0x120]
cmp edi, ecx
lea eax, [ebp - 0x134]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + edi*4 - 0x138]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xe8]
cmp byte [eax + 0x11], 0
je 0x426c1b
mov edi, dword [ebp - 0x134]
xor ebx, ebx
movzx edx, word [edi + 0x18]
movzx eax, byte [edi + 0xc]
add edx, eax
xor esi, esi
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0xc4], ebx
jle 0x426c21
xor eax, eax
mov dword [ebp - 0xd8], eax
jmp 0x4269f0
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + ebx*4]
mov dword [ebp - 0xcc], ecx
cmp ebx, edx
jne 0x426a8e
xor eax, eax
cmp dword [ebp - 0xfc], eax
sete al
mov dword [ebp - 0x104], eax
jmp 0x426a20
inc esi
cmp esi, dword [ebp - 0xdc]
jge 0x426a5f
mov edi, dword [ebp + esi*4 - 0x134]
jmp 0x426a66
push 0x4cc94c
push 0x11f1e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
mov edi, dword [ebp + esi*4 - 0x120]
movzx eax, word [edi + 0x18]
movzx ecx, byte [edi + 0xc]
add eax, dword [ebp - 0x104]
add ecx, eax
add edx, ecx
cmp ebx, edx
je 0x426a20
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe4], edx
cmp ebx, dword [ebp + eax - 0x40]
jne 0x426ac6
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
shl eax, 2
cmp dword [ebp - 0xfc], 0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + eax - 0x134]
mov dword [ebp - 0x100], eax
je 0x426bda
jmp 0x426acc
mov eax, dword [ebp - 0x100]
cmp esi, dword [ebp - 0xdc]
jge 0x426aeb
mov eax, dword [eax + 4]
cmp eax, dword [ebp + esi*4 - 0x80]
jne 0x426aeb
cmp ecx, dword [edi + 0x38]
jb 0x426aeb
cmp ecx, dword [edi + 0x3c]
jb 0x426bda
cmp word [ebp - 0x114], 0
jne 0x426b26
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x100]
push dword [eax + 4]
mov eax, dword [ecx]
bswap eax
push 5
push eax
push dword [ebp - 0xe8]
call fcn.00442960
mov eax, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x426b48
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.0042ca90
add esp, 8
movzx eax, ax
mov ecx, dword [ebp - 0x100]
cmp ax, word [ecx + 0x10]
jbe 0x426bc6
cmp dword [ebp - 0xc8], 0
jne 0x42700b
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xcc]
mov eax, dword [ecx + 0x50]
push ecx
call eax
movzx eax, word [ebp - 0x48]
add esp, 0xc
cmp eax, dword [ebp - 0x4c]
jae 0x426bd4
mov ecx, dword [edi + 0x3c]
mov edx, dword [ebp - 0xcc]
cmp ecx, edx
jb 0x426b90
add eax, edx
cmp ecx, eax
jb 0x426bee
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xd0]
push eax
movzx eax, word [ebp - 0x46]
push dword [ecx + 4]
mov eax, dword [eax + edx - 4]
push 3
bswap eax
push eax
push dword [ecx + 0x34]
call fcn.00442960
mov edx, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], edx
jmp 0x426bcc
mov edx, dword [ebp - 0xc8]
test edx, edx
jne 0x42700b
mov edx, dword [ebp - 0xe4]
inc ebx
cmp ebx, dword [ebp - 0xc4]
jge 0x426c1b
mov eax, dword [ebp - 0xd8]
jmp 0x4269f0
push 0x4cc94c
push 0x10533
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
mov edi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0xdc]
xor esi, esi
lea eax, [ebx - 1]
test eax, eax
jle 0x426de1
jmp 0x426c40
mov eax, dword [ebp + esi*4 - 0x134]
mov ecx, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x114]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + esi*4 - 0x40]
movzx edx, bx
mov edi, dword [ecx + eax*4]
mov ebx, dword [ebp - 0x138]
add ebx, dword [ebp - 0x13c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xb8]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x10c]
add edx, eax
cmp byte [ecx + 8], 0
mov ecx, dword [ebp - 0x104]
jne 0x426ca9
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x426d56
cmp dword [ebp - 0xfc], 0
je 0x426d3b
lea eax, [ebp - 0x84]
push eax
push dword [ecx - 4]
mov eax, dword [ebp - 0x10c]
push eax
mov eax, dword [eax + 0x50]
call eax
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
mov edi, ebx
add esp, 0xc
add ebx, 4
mov dword [ebp - 0xc], edx
test edx, edx
ja 0x426d29
jb 0x426ceb
cmp ecx, 0x7f
ja 0x426cfc
and cl, 0x7f
mov eax, 1
mov byte [ebx], cl
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x426d56
test edx, edx
ja 0x426d29
jb 0x426d0a
cmp ecx, 0x3fff
ja 0x426d29
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
mov byte [ebx], al
and cl, 0x7f
mov eax, 2
shr edx, 7
mov byte [ebx + 1], cl
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x426d56
push edx
push ecx
push ebx
call fcn.00443140
add esp, 0xc
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x426d56
sub edi, 4
cmp eax, 4
jne 0x426d56
mov eax, dword [ebp - 0xf8]
push edi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [ebp - 0x138], edx
xor eax, eax
cmp dword [ebp - 0x9c], esi
jg 0x426d75
cmp eax, 6
jge 0x426d75
inc eax
cmp dword [ebp + eax*4 - 0x9c], esi
jle 0x426d66
mov ecx, dword [ebp + eax*4 - 0xb4]
cmp ecx, edi
jb 0x426d8b
lea eax, [edx + edi]
cmp ecx, eax
jb 0x426e2c
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 4]
mov eax, dword [ebp - 0x108]
push ebx
push edx
push edi
add eax, esi
push eax
push dword [ebp - 0xf8]
call fcn.00438c40
mov eax, dword [ebp - 0xd0]
add esp, 0x1c
mov dword [ebp - 0xc8], eax
test eax, eax
jne 0x42700b
mov ebx, dword [ebp - 0xdc]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x426c40
mov edi, dword [ebp - 0x134]
mov esi, 1
sub esi, ebx
mov dword [ebp - 0x110], esi
cmp esi, ebx
jge 0x426ef9
mov eax, esi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
lea ebx, [ebp - 0x18]
add ebx, ecx
cmp byte [ebx], 0
jne 0x426ede
test esi, esi
jns 0x426e1f
mov eax, dword [ebp + ecx*4 - 0x70]
cmp eax, dword [ebp + ecx*4 - 0x44]
jl 0x426ede
test ecx, ecx
jne 0x426e59
mov esi, dword [ebp - 0x40]
xor eax, eax
xor edx, edx
jmp 0x426e8d
push 0x4cc94c
push 0x11fbb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422430
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42700b
cmp ecx, dword [ebp - 0xec]
jge 0x426e72
xor eax, eax
cmp dword [ebp - 0xfc], eax
sete al
add eax, dword [ebp + ecx*4 - 0x70]
jmp 0x426e78
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp + ecx*4 - 0x40]
xor edx, edx
cmp dword [ebp - 0xfc], edx
sete dl
add edx, dword [ebp + ecx*4 - 0x44]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [ebp - 0xc4]
push ecx
push esi
push edx
push eax
push dword [ebp + edi - 0x134]
call fcn.0042fd20
add esp, 0x14
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x42700b
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [ebp + edi - 0x2c]
mov eax, dword [ebp + edi - 0x134]
mov esi, dword [ebp - 0x110]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
mov ebx, dword [ebp - 0xdc]
inc esi
mov dword [ebp - 0x110], esi
cmp esi, ebx
jl 0x426df6
mov edi, dword [ebp - 0x134]
cmp dword [ebp + 0x14], 0
je 0x426f6c
mov esi, dword [ebp - 0xf8]
cmp word [esi + 0x18], 0
jne 0x426f6c
movzx eax, byte [esi + 9]
cmp eax, dword [edi + 0x14]
jg 0x426f6c
push 0xffffffffffffffff
push edi
call fcn.0042eeb0
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
push esi
push dword [ebp - 0x134]
call fcn.0042e330
mov edi, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], edi
test edi, edi
jne 0x426fd4
mov eax, dword [ebp - 0x134]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00435cd0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc8], edi
jmp 0x426fd4
mov ecx, dword [ebp - 0xe8]
cmp byte [ecx + 0x11], 0
je 0x426fce
cmp word [ebp - 0x114], 0
jne 0x426fce
xor esi, esi
test ebx, ebx
jle 0x426fce
jmp 0x426f90
mov eax, dword [ebp + esi*4 - 0x134]
lea edx, [ebp - 0xd0]
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.00442960
mov ecx, dword [ebp - 0xe8]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x426f90
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], edi
jmp 0x426fd4
mov edi, dword [ebp - 0xc8]
mov esi, ebx
cmp ebx, dword [ebp - 0xec]
jge 0x42700b
mov edi, edi
mov eax, dword [ebp + esi*4 - 0x120]
test edi, edi
jne 0x426ffc
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00435cd0
add esp, 0xc
mov edi, eax
inc esi
cmp esi, dword [ebp - 0xec]
jl 0x426fe0
mov dword [ebp - 0xc8], edi
mov ebx, dword [ebp - 0xbc]
test ebx, ebx
je 0x427088
cmp dword [0x4d9c10], 0
je 0x427063
mov eax, dword [0x4dacf0]
test eax, eax
je 0x427031
push eax
call dword [0x4d9c60]
add esp, 4
push ebx
call dword [0x4d9c3c]
sub dword [0x4dac98], eax
dec dword [0x4dacbc]
push ebx
call dword [0x4d9c34]
mov eax, dword [0x4dacf0]
add esp, 8
test eax, eax
je 0x427088
push eax
call dword [0x4d9c68]
add esp, 4
jmp 0x427088
push ebx
call dword [0x4d9c34]
add esp, 4
jmp 0x427088
lea eax, [esi*4 + 4]
push eax
lea eax, [ebp - 0x120]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ebx, ebx
cmp dword [ebp - 0xec], ebx
jle 0x4270f7
mov edx, dword [ebp + ebx*4 - 0x120]
test edx, edx
je 0x4270ee
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4270e5
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]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a95a0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x4270ee
push edx
call fcn.00468660
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xec]
jl 0x427092
xor ebx, ebx
cmp dword [ebp - 0xdc], ebx
jle 0x427166
mov edx, dword [ebp + ebx*4 - 0x134]
test edx, edx
je 0x42715d
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x427154
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]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a95a0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x42715d
push edx
call fcn.00468660
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xdc]
jl 0x427101
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc8]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004a9190
mov esp, ebp
pop ebp
ret