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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0xc], eax
jne 0x4884f6
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [esi + 0x10]
movzx ecx, byte [esi + 1]
lea ebx, [ecx + edx]
cmp ebx, 2
jge 0x48850f
lea edi, [ebx + 1]
mov dword [esp + 0x40], edi
jmp 0x48852a
mov dword [esp + 0x40], 3
cmp edi, eax
je 0x488525
lea eax, [ebx - 2]
cmp edi, ebx
je 0x488525
lea eax, [edi - 1]
mov ebx, 2
mov dword [esp + 0x18], eax
sub eax, ecx
lea ecx, [eax + ebx]
mov eax, dword [esi + 0x40]
cmp ecx, edx
jne 0x488544
movzx edx, byte [esi + 5]
lea ecx, [edx + eax + 8]
jmp 0x488561
movzx edx, word [esi + 0xc]
add edx, eax
lea edx, [edx + ecx*2]
movzx ecx, byte [edx + 1]
movzx edx, byte [edx]
shl edx, 8
or ecx, edx
movzx edx, word [esi + 0x12]
and ecx, edx
add ecx, eax
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
shl eax, 8
mov dword [esp + 0x58], ecx
movzx ecx, byte [ecx + 3]
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x20]
lea edi, [esp + ebx*4 + 0x74]
push edi
mov dword [esp + 0x60], eax
call fcn.004835d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x488738
mov edx, dword [esp + 0x18]
lea ecx, [edx + ebx]
jmp 0x4885b8
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
movzx edx, word [eax + 0x10]
movzx eax, byte [eax + 1]
add eax, dword [esp + 0x44]
dec ecx
lea eax, [eax + edx + 1]
mov edx, ebx
dec ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
test edx, edx
je 0x488754
movzx eax, word [esi + 0x18]
cmp ecx, eax
jne 0x488633
cmp byte [esi + 1], 0
je 0x488633
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax]
movzx edi, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ecx, 8
or edi, ecx
movzx ecx, byte [eax + 3]
shl edi, 8
or edi, edx
shl edi, 8
mov dword [esp + ebx*4 + 0x80], eax
or edi, ecx
push eax
mov eax, esi
mov dword [esp + 0x60], edi
call fcn.00482af0
movzx edx, ax
add esp, 4
mov dword [esp + ebx*4 + 0x60], edx
mov byte [esi + 1], 0
jmp 0x488715
movzx ecx, byte [esi + 1]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x40]
sub edx, ecx
movzx ecx, word [esi + 0xc]
add edx, ebx
add ecx, eax
lea ecx, [ecx + edx*2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
or edx, ecx
movzx ecx, word [esi + 0x12]
and edx, ecx
movzx edi, byte [eax + edx + 1]
movzx ecx, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax]
shl edx, 8
or edi, edx
movzx edx, byte [eax + 3]
shl edi, 8
or edi, ecx
shl edi, 8
mov dword [esp + ebx*4 + 0x80], eax
or edi, edx
push eax
mov eax, esi
mov dword [esp + 0x60], edi
call fcn.00482af0
movzx eax, ax
mov dword [esp + 0x28], eax
mov dword [esp + ebx*4 + 0x64], eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp byte [eax + 0x12], 0
je 0x4886f6
mov eax, dword [esp + ebx*4 + 0x80]
sub eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, eax
cmp ecx, dword [edx + 0x28]
jg 0x489056
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + ebx*4 + 0x80]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
add eax, ecx
push eax
call fcn.004f7510
mov eax, dword [esp + ebx*4 + 0x8c]
sub eax, dword [esi + 0x40]
add esp, 0xc
add eax, dword [ebp + 0xc]
mov dword [esp + ebx*4 + 0x80], eax
movzx ecx, byte [esi + 1]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
push eax
add edx, ebx
push edx
call fcn.00487f00
add esp, 0xc
mov ecx, dword [esp + 0x20]
lea eax, [esp + ebx*4 + 0x74]
mov dword [esp + 0x24], eax
push eax
mov eax, edi
call fcn.004835d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4885b0
lea eax, [ebx*4 + 4]
push eax
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.004f4810
add esp, 0xc
jmp 0x48908e
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
lea esi, [eax + 3]
mov eax, dword [edx + 0x24]
lea ecx, [eax + 0x50]
mov dword [esp + 0x34], ecx
imul ecx, edi
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.00474a50
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x488791
mov dword [esp + 0x10], 7
jmp 0x48908e
lea eax, [eax + esi*4]
mov dword [esp + 0x28], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
movzx cx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
movzx edx, cx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], 0
test edi, edi
jle 0x48892b
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x24]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x9c], ebx
mov eax, dword [esp + eax*4 + 0x74]
mov esi, eax
mov ecx, 0x13
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x40], ecx
mov edx, dword [edx + 0x24]
mov eax, dword [eax + 0x40]
push edx
push eax
push ecx
call fcn.004f7510
movzx eax, word [ebx + 0x10]
movzx ecx, byte [ebx + 1]
mov esi, dword [esp + 0x54]
add eax, ecx
add esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x488879
jmp 0x488840
mov eax, dword [esp + 0x1c]
mov edi, ebx
call fcn.00482960
mov edx, dword [esp + 0x2c]
mov dword [edx + esi*4], eax
push eax
mov eax, ebx
call fcn.00482af0
mov ecx, dword [esp + 0x2c]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0x20]
inc eax
add esp, 4
inc esi
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
jl 0x488840
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
dec eax
cmp dword [esp + 0x14], eax
jge 0x488910
cmp dword [esp + 0x54], 0
jne 0x488910
mov edx, dword [esp + 0x14]
movzx eax, word [esp + edx*4 + 0x60]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov word [edi + esi*2], ax
movzx eax, ax
add edx, ecx
add ecx, eax
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + eax*4 + 0x84]
push ecx
push edx
mov dword [esp + 0x44], edx
call fcn.004f7510
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
movzx edx, ax
add edx, dword [esp + 0x44]
add esp, 0xc
mov dword [ecx + esi*4], edx
sub word [edi + esi*2], ax
cmp byte [ebx + 3], 0
movzx eax, word [edi + esi*2]
jne 0x4888fc
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
mov eax, ecx
mov ecx, dword [eax + esi*4]
mov dword [ecx], edx
jmp 0x48890b
cmp ax, 4
jae 0x48890b
mov eax, 4
mov word [edi + esi*2], ax
inc esi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x44], ecx
inc eax
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
jl 0x4887d5
movzx eax, word [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x28]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x28]
lea edx, [ecx + eax - 0xc]
xor ecx, ecx
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], edx
test edi, edi
jle 0x488981
movzx edx, word [ebx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, dword [esp + 0x38]
jle 0x48897c
sub eax, edx
cmp dword [esp + 0x54], 0
mov dword [esp + esi*4 + 0x60], eax
mov dword [esp + esi*4 + 0x88], ecx
je 0x488974
dec ecx
inc esi
xor eax, eax
cmp esi, 4
jg 0x4889a2
inc ecx
cmp ecx, edi
jl 0x488951
mov dword [esp + esi*4 + 0x88], edi
inc esi
mov dword [esp + esi*4 + 0x5c], eax
lea edi, [esi - 1]
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], edi
test edi, edi
jle 0x488a45
jmp 0x4889d4
push 0x5431dc
push 0xc845
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00476410
add esp, 0x10
mov dword [esp + 0x10], 0xb
jmp 0x48908e
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + edi*4 + 0x60]
mov esi, dword [esp + edi*4 + 0x5c]
mov eax, dword [esp + edi*4 + 0x84]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x54]
inc ecx
test edx, edx
je 0x488a12
movzx edi, word [ebx + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 0x28]
movzx edi, word [edi + ecx*2]
lea edi, [edi + edx + 2]
sub ebx, 2
cmp edi, ebx
mov edi, dword [esp + 0x14]
jg 0x488a30
mov ebx, dword [esp + 0x28]
movzx ecx, word [ebx + ecx*2]
movzx eax, word [ebx + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add esi, ecx
dec dword [esp + edi*4 + 0x84]
jmp 0x4889dc
mov dword [esp + edi*4 + 0x60], edx
mov dword [esp + edi*4 + 0x5c], esi
dec edi
mov dword [esp + 0x14], edi
test edi, edi
jg 0x4889d0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x48], 1
ja 0x488a5e
push 0x5431dc
push 0xc87b
jmp 0x4889ac
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor edi, edi
mov dword [esp + 0x50], eax
test esi, esi
jle 0x488b11
cmp edi, dword [esp + 0x40]
jge 0x488aa4
mov eax, dword [esp + edi*4 + 0x74]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + edi*4 + 0x64], eax
mov dword [esp + 0x34], eax
mov dword [esp + edi*4 + 0x78], 0
call fcn.0047f090
inc dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jmp 0x488b02
mov edx, dword [esp + 0x5c]
push 0
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.00486e80
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48908e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
inc dword [esp + 0x3c]
cmp byte [ecx + 0x15], 0
mov dword [esp + edi*4 + 0x60], eax
je 0x488b08
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x48]
push edx
push 5
call fcn.00482750
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x48908e
inc edi
cmp edi, esi
jl 0x488a72
cmp edi, dword [esp + 0x40]
jge 0x488bc3
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + edi*4 + 0x74]
jne 0x48908e
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
mov eax, ebx
call fcn.00487600
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48908e
test ebx, ebx
je 0x488bb0
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x488bb0
mov ebx, dword [eax + 0x10]
call fcn.0047a750
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0xc], 0
jne 0x488bb0
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x488ba7
test al, al
je 0x488ba7
cmp al, 2
jb 0x488b95
mov eax, dword [0x561430]
test eax, eax
je 0x488b81
call eax
mov eax, ebx
call fcn.0047f690
mov eax, dword [0x561434]
test eax, eax
je 0x488ba7
call eax
jmp 0x488ba7
cmp byte [ebx + 4], 0
jne 0x488ba7
push 0
mov eax, ebx
call fcn.0047c700
add esp, 4
push ebx
call fcn.0047c5f0
add esp, 4
mov dword [esp + edi*4 + 0x74], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x488b1b
lea eax, [esi - 1]
xor ecx, ecx
test eax, eax
jle 0x488c27
lea esp, [esp]
lea eax, [esp + ecx*4 + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
mov dword [esp + 0x30], eax
lea eax, [ecx + 1]
cmp eax, esi
mov ebx, ecx
mov dword [esp + 0x44], eax
jge 0x488c1c
mov edi, edi
mov edx, dword [esp + eax*4 + 0x60]
mov edx, dword [edx + 0x48]
cmp edx, edi
jae 0x488bff
mov ebx, eax
mov edi, edx
inc eax
cmp eax, esi
jl 0x488bf0
cmp ebx, ecx
jle 0x488c1c
mov eax, dword [esp + ebx*4 + 0x60]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
lea ebx, [esp + ebx*4 + 0x60]
mov dword [ecx], eax
mov dword [ebx], edx
mov ecx, dword [esp + 0x44]
lea eax, [esi - 1]
cmp ecx, eax
jl 0x488bd0
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + edx*4 + 0x5c]
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x58]
mov ebx, eax
shr ebx, 0x18
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0x10
mov byte [ecx + 1], bl
mov ebx, eax
xor edi, edi
shr ebx, 8
cmp edx, edi
mov dword [esp + 0x38], esi
mov byte [ecx + 2], bl
mov byte [ecx + 3], al
mov dword [esp + 0x14], edi
jle 0x488d9d
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + ebx*4 + 0x60]
push eax
call fcn.00483490
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + ebx*4 + 0x8c]
add esp, 4
lea edx, [ecx + edi*2]
push edx
lea ecx, [eax + edi*4]
push ecx
mov edx, ebx
sub edx, edi
push edx
push esi
call fcn.004881b0
mov edi, ebx
add esp, 0x10
cmp edi, dword [esp + 0x48]
jge 0x488d86
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
movzx ecx, word [edx + edi*2]
movzx edx, word [esp + 0x24]
movzx eax, cx
add eax, edx
mov edx, dword [ebp + 0xc]
add ebx, edx
cmp byte [esi + 3], 0
jne 0x488ce2
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x40]
mov edx, dword [edx]
mov dword [ecx + 8], edx
jmp 0x488d48
cmp dword [esp + 0x54], 0
je 0x488d2a
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi*4 - 4]
lea eax, [esp + 0xa8]
dec edi
push eax
push edx
push esi
call fcn.004829b0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x24], ebx
call fcn.00477690
add esp, 8
add eax, 4
xor ebx, ebx
jmp 0x488d48
sub dword [esp + 0x1c], 4
cmp cx, 4
jne 0x488d48
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push edx
call fcn.00482af0
add esp, 4
movzx eax, ax
add dword [esp + 0x4c], eax
cmp dword [esp + 0x10], 0
jne 0x48908e
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.00487ff0
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x48908e
inc edi
inc dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jl 0x488c62
mov esi, dword [esp + 0x38]
test byte [esp + 0x50], 8
jne 0x488dbb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + eax*4 + 0x98]
mov edx, dword [ecx + 0x40]
mov eax, dword [esi + 0x40]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 0x10], 0
mov ebx, dword [esp + 0x60]
je 0x488e0d
mov eax, dword [ebp + 8]
cmp word [eax + 0x10], 0
jne 0x488e0d
movzx dx, byte [eax + 5]
cmp dx, word [ebx + 0xe]
ja 0x488e0d
lea ecx, [esp + 0x10]
push ecx
call fcn.00488400
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x48908e
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.00487600
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x48908e
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x15], 0
je 0x48908e
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x9c]
movzx eax, byte [ebx + 1]
movzx esi, word [ebx + 0x10]
xor edi, edi
add esi, eax
mov dword [esp + 0x4c], eax
cmp eax, edi
je 0x488e40
movzx eax, word [ebx + 0x18]
jmp 0x488e43
or eax, 0xffffffff
cmp dword [esp + 0x48], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
jle 0x488ff2
mov dword [esp + 0x58], edi
xor ecx, ecx
cmp edi, esi
jne 0x488eab
cmp dword [esp + 0x54], ecx
sete cl
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + eax*4 + 0xa0]
movzx edx, word [ebx + 0x10]
inc eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x488ea3
movzx eax, al
mov dword [esp + 0x4c], eax
movzx eax, word [ebx + 0x18]
add eax, ecx
add eax, edi
mov dword [esp + 0x14], eax
jmp 0x488ea7
mov eax, dword [esp + 0x14]
cmp edi, esi
je 0x488e6a
cmp edi, eax
jne 0x488ec6
mov edx, dword [esp + 0x4c]
dec edx
mov ecx, 1
mov dword [esp + 0x4c], edx
test edx, edx
jle 0x488ec6
inc eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x58]
cmp edi, dword [esp + edx + 0x88]
jne 0x488ef7
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x34], edx
add edx, edx
add edx, edx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x58], edx
mov edx, dword [esp + edx + 0x60]
mov dword [esp + 0x18], edx
je 0x488fe7
test ecx, ecx
jne 0x488f0b
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x18]
cmp ecx, dword [edx + 0x48]
je 0x488fe7
cmp word [esp + 0x24], 0
jne 0x488f57
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov edx, dword [eax + 0x48]
movzx eax, byte [ecx + 1]
push edx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x28]
push 5
call fcn.00482750
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x28]
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x18]
cmp cx, word [edx + 0xa]
jbe 0x488fe7
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x30], edx
jne 0x488fe7
lea eax, [esp + 0xa8]
push eax
mov ecx, edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.004829b0
mov ax, word [esp + 0xd0]
add esp, 0xc
test ax, ax
je 0x488fe3
mov edx, dword [esp + 0x18]
movzx ecx, ax
add ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x48]
movzx edx, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x20]
shl eax, 8
or eax, ecx
mov ecx, dword [edx + 0x3c]
push 3
call fcn.00482750
add esp, 0xc
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [esp + 0x48]
jl 0x488e5d
cmp word [esp + 0x24], 0
jne 0x48908e
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x48908e
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + esi*4 + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
add ecx, 8
lea edx, [esp + 0x10]
push edx
movzx edx, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 5
mov ecx, ebx
call fcn.00482750
inc esi
add esp, 0xc
cmp esi, edi
jl 0x489012
jmp 0x48908e
push 0x5431dc
push 0xc7c6
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00476410
lea edx, [ebx*4 + 4]
push edx
lea eax, [esp + 0x88]
push 0
push eax
mov dword [esp + 0x2c], 0xb
call fcn.004f4810
add esp, 0x1c
mov esi, dword [esp + 0x2c]
call fcn.00474b70
mov ebx, dword [esp + 0x40]
xor edi, edi
test ebx, ebx
jle 0x489112
mov eax, dword [esp + edi*4 + 0x74]
test eax, eax
je 0x48910d
mov eax, dword [eax + 0x44]
test eax, eax
je 0x48910d
mov esi, dword [eax + 0x10]
call fcn.0047a750
mov ecx, dword [esi + 0xa8]
cmp dword [ecx + 0xc], 0
jne 0x48910d
mov al, byte [esi + 0xf]
cmp al, 6
je 0x489104
test al, al
je 0x489104
cmp al, 2
jb 0x4890f2
mov eax, dword [0x561430]
test eax, eax
je 0x4890de
call eax
mov eax, esi
call fcn.0047f690
mov eax, dword [0x561434]
test eax, eax
je 0x489104
call eax
jmp 0x489104
cmp byte [esi + 4], 0
jne 0x489104
push 0
mov eax, esi
call fcn.0047c700
add esp, 4
push esi
call fcn.0047c5f0
add esp, 4
inc edi
cmp edi, ebx
jl 0x4890a1
mov ebx, dword [esp + 0x3c]
xor edi, edi
test ebx, ebx
jle 0x48918d
mov eax, dword [esp + edi*4 + 0x60]
test eax, eax
je 0x489188
mov eax, dword [eax + 0x44]
test eax, eax
je 0x489188
mov esi, dword [eax + 0x10]
call fcn.0047a750
mov edx, dword [esi + 0xa8]
cmp dword [edx + 0xc], 0
jne 0x489188
mov al, byte [esi + 0xf]
cmp al, 6
je 0x48917f
test al, al
je 0x48917f
cmp al, 2
jb 0x48916d
mov eax, dword [0x561430]
test eax, eax
je 0x489159
call eax
mov eax, esi
call fcn.0047f690
mov eax, dword [0x561434]
test eax, eax
je 0x48917f
call eax
jmp 0x48917f
cmp byte [esi + 4], 0
jne 0x48917f
push 0
mov eax, esi
call fcn.0047c700
add esp, 4
push esi
call fcn.0047c5f0
add esp, 4
inc edi
cmp edi, ebx
jl 0x48911c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret