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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ecx + 0x34]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
mov dword [ebp - 0x98], edi
cmp esi, eax
jne 0x4ea4f8
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
movzx esi, word [ecx + 0x12]
push ebx
movzx ebx, byte [ecx + 1]
lea edi, [ebx + esi]
cmp edi, 2
jl 0x4ea523
cmp dword [ebp + 8], eax
je 0x4ea51c
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x4ea51b
lea eax, [edi + edx - 2]
jmp 0x4ea51c
dec eax
mov edi, 2
sub edi, edx
mov dword [ebp - 0xc8], eax
sub eax, ebx
add eax, edi
lea edx, [edi + 1]
mov dword [ebp - 0xac], edx
cmp eax, esi
jne 0x4ea547
movzx eax, byte [ecx + 6]
mov ecx, dword [ecx + 0x38]
lea eax, [eax + ecx + 8]
jmp 0x4ea562
mov edx, dword [ecx + 0x40]
lea esi, [edx + eax*2]
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or eax, edx
movzx edx, word [ecx + 0x14]
and eax, edx
add eax, dword [ecx + 0x38]
movzx ebx, byte [eax]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp - 0x98]
shl ebx, 8
mov dword [ebp - 0xd4], eax
movzx eax, byte [eax + 3]
or ebx, edx
push 0
lea esi, [ebp + edi*4 - 0xe0]
shl ebx, 8
or ebx, eax
push esi
push ecx
mov dword [ebp - 0x94], ebx
call fcn.004e97f6
add esp, 0xc
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x4ea746
mov esi, dword [esi]
movzx eax, byte [esi + 1]
add eax, dword [ebp - 0x9c]
movzx edx, word [esi + 0x12]
mov ecx, edi
lea eax, [eax + edx + 1]
dec edi
mov dword [ebp - 0x9c], eax
test ecx, ecx
je 0x4ea764
mov ebx, dword [ebp - 0xcc]
movzx edx, word [ebx + 0x16]
mov eax, dword [ebp - 0xc8]
add eax, edi
cmp eax, edx
jne 0x4ea63d
cmp byte [ebx + 1], 0
je 0x4ea63d
mov eax, dword [ebx + 0x20]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
mov dword [ebp + edi*4 - 0xec], eax
or ecx, edx
push eax
mov eax, ebx
mov dword [ebp - 0x94], ecx
call fcn.004a0a95
movzx eax, ax
add esp, 4
mov dword [ebp + edi*4 - 0x40], eax
mov byte [ebx + 1], 0
jmp 0x4ea719
movzx ecx, byte [ebx + 1]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 0x40]
sub edx, ecx
add edx, edi
movzx esi, byte [eax + edx*2 + 1]
lea eax, [eax + edx*2]
movzx eax, byte [eax]
shl eax, 8
or esi, eax
movzx eax, word [ebx + 0x14]
and esi, eax
add esi, dword [ebx + 0x38]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [ebp - 0x94], eax
push esi
mov eax, ebx
mov dword [ebp + edi*4 - 0xec], esi
call fcn.004a0a95
mov ecx, dword [ebp - 0x98]
movzx eax, ax
add esp, 4
test byte [ecx + 0x16], 4
mov dword [ebp - 0xb8], eax
mov dword [ebp + edi*4 - 0x40], eax
je 0x4ea6f2
mov edx, dword [ebp - 0xb8]
mov eax, esi
sub eax, dword [ebx + 0x38]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x4eb54f
mov ecx, dword [ebp - 0xb8]
push ecx
push esi
mov esi, dword [ebp - 0x104]
lea edx, [esi + eax]
push 0xffffffffffffffff
push edx
call fcn.0040ab34
sub esi, dword [ebx + 0x38]
add esp, 0x10
add dword [ebp + edi*4 - 0xec], esi
movzx edx, byte [ebx + 1]
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xc8]
sub eax, edx
push ecx
add eax, edi
push eax
mov esi, ebx
call fcn.004cbf1e
add esp, 0xc
mov ecx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
push 0
lea esi, [ebp + edi*4 - 0xe0]
push esi
push ecx
call fcn.004e97f6
add esp, 0xc
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4ea5b3
lea edx, [edi*4 + 4]
push edx
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.00402e70
add esp, 0xc
jmp 0x4eb588
mov edx, dword [ebp - 0x98]
lea esi, [eax + 3]
mov eax, dword [edx + 0x20]
and esi, 0xfffffffc
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
call fcn.004a8534
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x4ea797
mov dword [ebp - 0x8c], 7
jmp 0x4eb588
lea eax, [eax + esi*4]
lea ecx, [eax + esi*2]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe0]
movzx edx, byte [eax + 5]
add dx, dx
add dx, dx
cmp dword [ebp - 0xac], 0
mov dword [ebp - 0xa0], ecx
movzx ecx, dx
movzx edx, byte [eax + 3]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x88], 0
jle 0x4eaa23
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xd0], eax
lea ecx, [ecx]
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp + ecx*4 - 0xe0]
mov al, byte [esi + 1]
movzx edx, word [esi + 0x12]
movzx ecx, al
add edx, ecx
mov dword [ebp - 0xc0], edx
test al, al
je 0x4ea8af
mov dword [ebp - 0x9c], 0
test edx, edx
jle 0x4ea92d
mov edi, dword [ebp - 0xa8]
nop
movzx eax, byte [esi + 1]
dec eax
mov ecx, dword [ebp - 0x9c]
js 0x4ea854
lea ebx, [esi + eax*2 + 0x16]
movzx edx, word [ebx]
cmp edx, ecx
jg 0x4ea84e
je 0x4ea8a9
dec ecx
sub ebx, 2
dec eax
jns 0x4ea844
mov edx, dword [esi + 0x40]
movzx eax, byte [edx + ecx*2]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx + 1]
movzx edx, word [esi + 0x14]
shl eax, 8
or eax, ecx
and eax, edx
add eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + edi*4], eax
push eax
mov eax, esi
call fcn.004a0a95
mov edx, dword [ebp - 0xa4]
mov word [edx + edi*2], ax
mov eax, dword [ebp - 0x9c]
inc eax
add esp, 4
inc edi
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0xc0]
jl 0x4ea833
jmp 0x4ea927
mov eax, dword [esi + eax*4 + 0x20]
jmp 0x4ea870
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0xe]
mov dword [ebp - 0x9c], eax
movzx eax, word [esi + 0x14]
test edx, edx
jle 0x4ea92d
mov edi, dword [ebp - 0xa8]
mov ebx, ecx
add ebx, dword [ebp - 0x9c]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
nop
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, dword [ebp - 0x9c]
shl ecx, 8
or ecx, edx
and ecx, dword [ebp - 0xc0]
add eax, ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + edi*4], eax
push eax
mov eax, esi
call fcn.004a0a95
mov edx, dword [ebp - 0xa4]
mov word [edx + edi*2], ax
add esp, 4
inc edi
add ebx, 2
dec dword [ebp - 0xbc]
jne 0x4ea8e3
mov dword [ebp - 0xa8], edi
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x84], ebx
cmp eax, dword [ebp - 0xd0]
jge 0x4eaa10
cmp dword [ebp - 0xb0], 0
jne 0x4eaa10
movzx eax, word [ebp + eax*4 - 0x40]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
add edx, ecx
push eax
add ecx, eax
mov word [edi + ebx*2], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp + eax*4 - 0xec]
push ecx
push 0xffffffffffffffff
push edx
mov dword [ebp - 0xc0], edx
call fcn.0040ab34
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
movzx edx, ax
add edx, dword [ebp - 0xc0]
add esp, 0x10
mov dword [ecx + ebx*4], edx
sub word [edi + ebx*2], ax
cmp byte [esi + 5], 0
mov ax, word [edi + ebx*2]
jne 0x4ea9dd
mov eax, dword [esi + 0x38]
mov ecx, dword [ecx + ebx*4]
push 4
add eax, 8
push eax
push 0xffffffffffffffff
push ecx
call fcn.0040ab34
add esp, 0x10
jmp 0x4eaa03
cmp ax, 4
jae 0x4eaa03
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xa0]
mov byte [edx + eax], 0
inc eax
mov dword [ebp - 0xc4], eax
mov eax, 4
mov word [edi + ebx*2], ax
mov eax, dword [ebp - 0x88]
inc ebx
mov dword [ebp - 0xa8], ebx
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xac]
jl 0x4ea7f3
movzx eax, word [ebp - 0xb8]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x24]
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov dword [ebp - 0xe8], eax
lea eax, [edx + eax - 0xc]
mov dword [ebp - 0xc0], eax
xor ecx, ecx
xor edi, edi
xor eax, eax
test esi, esi
jle 0x4eaa9b
jmp 0x4eaa63
movzx edx, word [ebx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, dword [ebp - 0xc0]
jle 0x4eaa96
sub eax, edx
sub eax, 2
cmp dword [ebp - 0xb0], 0
mov dword [ebp + edi*4 - 0x40], eax
mov dword [ebp + edi*4 - 0x2c], ecx
je 0x4eaa8a
dec ecx
inc edi
xor eax, eax
cmp edi, 4
jg 0x4eab27
inc ecx
cmp ecx, esi
jl 0x4eaa63
mov dword [ebp + edi*4 - 0x40], eax
mov dword [ebp + edi*4 - 0x2c], esi
inc edi
mov dword [ebp - 0xa0], edi
dec edi
mov dword [ebp - 0x88], edi
test edi, edi
jle 0x4eab66
jmp 0x4eaac3
mov edx, dword [ebp + edi*4 - 0x40]
mov esi, dword [ebp + edi*4 - 0x44]
mov eax, dword [ebp + edi*4 - 0x30]
dec eax
mov ecx, eax
sub ecx, dword [ebp - 0xb0]
inc ecx
test edx, edx
je 0x4eab0c
cmp dword [ebp + 0x14], 0
jne 0x4eab4f
movzx edi, word [ebx + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [ebp - 0xa4]
movzx edi, word [edi + ecx*2]
sub ebx, 2
lea edi, [edi + edx + 2]
cmp edi, ebx
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x88]
jg 0x4eab4f
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 [ebp + edi*4 - 0x30]
jmp 0x4eaacb
push 0x53f3a4
push 0xea4d
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004bd709
add esp, 0x10
mov dword [ebp - 0x8c], 0xb
jmp 0x4eb588
mov dword [ebp + edi*4 - 0x40], edx
mov dword [ebp + edi*4 - 0x44], esi
dec edi
mov dword [ebp - 0x88], edi
test edi, edi
jg 0x4eaac3
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x48], 1
ja 0x4eab7e
push 0x53f3a4
push 0xea88
jmp 0x4eab31
mov edx, dword [eax + 0x38]
movzx eax, byte [edx]
xor edi, edi
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xa0], edi
jle 0x4eacc0
mov ebx, dword [ebp - 0xa0]
jmp 0x4eaba3
cmp edi, dword [ebp - 0xac]
jge 0x4eac12
mov eax, dword [ebp + edi*4 - 0xe0]
mov dword [ebp + edi*4 - 0x100], eax
mov dword [ebp - 0xa0], eax
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x94]
mov dword [ebp + edi*4 - 0xe0], 0
cmp edx, dword [ecx + 0x98]
jbe 0x4eabfa
push eax
call fcn.004dfe31
inc dword [ebp - 0x90]
add esp, 4
mov dword [ebp - 0x8c], eax
test eax, eax
jmp 0x4eacb1
call fcn.004dfc87
inc dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
test eax, eax
jmp 0x4eacb1
cmp dword [ebp + 0x14], 0
mov eax, 1
jne 0x4eac23
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
push 0
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push edx
call fcn.004e5519
add esp, 0x14
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x4eb588
mov eax, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xa0]
push eax
call fcn.004cbc27
mov ecx, dword [ebp - 0xa8]
inc dword [ebp - 0x90]
mov dword [ebp + edi*4 - 0x84], ecx
mov ecx, dword [ebp - 0x98]
add esp, 4
cmp byte [ecx + 0x11], 0
mov dword [ebp + edi*4 - 0x100], esi
je 0x4eacb7
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0x48]
push edx
push 5
call fcn.004e0b1e
add esp, 0xc
cmp dword [ebp - 0x8c], 0
jne 0x4eb588
inc edi
cmp edi, ebx
jl 0x4eaba3
mov edi, dword [ebp - 0x90]
xor eax, eax
test edi, edi
jle 0x4ead0b
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x100]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x44]
mov cx, word [ecx + 0x18]
mov word [ebp + eax*2 - 0x18], cx
xor ecx, ecx
mov dword [ebp + eax*4 - 0x6c], edx
mov dword [ebp + eax*4 - 0x54], edx
test eax, eax
jle 0x4ead06
cmp dword [ebp + ecx*4 - 0x6c], edx
je 0x4eadf4
inc ecx
cmp ecx, eax
jl 0x4eacf7
inc eax
cmp eax, edi
jl 0x4eacd3
xor ecx, ecx
mov dword [ebp - 0x88], ecx
test edi, edi
jle 0x4eaf4d
xor ebx, ebx
lea eax, [ebx + 1]
cmp edi, eax
jle 0x4ead53
xor edx, edx
jmp 0x4ead33
lea ecx, [eax*4]
mov esi, dword [ebp + ecx - 0x54]
cmp esi, dword [ebp + edx - 0x54]
jae 0x4ead48
mov ebx, eax
mov edx, ecx
inc eax
cmp eax, edi
jl 0x4ead33
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + ebx*4 - 0x54]
mov dword [ebp - 0x94], edx
mov dword [ebp + ebx*4 - 0x54], 0xffffffff
cmp ebx, ecx
je 0x4eaf3e
jle 0x4eae5a
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + ebx*4 - 0x100]
mov esi, dword [edx + 0x44]
mov edx, dword [esi]
lea edi, [ecx + ebx + 1]
mov ecx, dword [esi + 0x14]
xor eax, eax
push edi
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [eax + 0x28]
push edx
push ecx
call dword [0x56468c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], edi
test al, 2
je 0x4eae5a
test al, 4
je 0x4eae5a
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x4eade3
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4eade0
jmp 0x4eadd3
test byte [eax + 0x18], 4
je 0x4eade0
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4eadd3
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
xor edx, edx
cmp eax, edx
je 0x4eae03
mov edi, dword [esi + 0x24]
mov dword [eax + 0x24], edi
jmp 0x4eae09
push 0x53f3a4
push 0xeabf
jmp 0x4eab31
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
cmp eax, edx
je 0x4eae18
mov edi, dword [esi + 0x20]
mov dword [eax + 0x20], edi
jmp 0x4eae2a
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
cmp eax, edx
jne 0x4eae2a
cmp byte [ecx + 0x1c], dl
je 0x4eae2a
mov byte [ecx + 0x1d], 2
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x4eae3e
mov dword [eax + 0x24], esi
jmp 0x4eae4a
mov dword [ecx + 4], esi
cmp byte [ecx + 0x1c], dl
je 0x4eae4a
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x4eae5a
test byte [esi + 0x18], 4
jne 0x4eae5a
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x88]
mov edi, dword [ebp + ecx*4 - 0x100]
mov esi, dword [edi + 0x44]
mov dx, word [ebp + ebx*2 - 0x18]
mov ebx, dword [ebp - 0x94]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
push ebx
mov word [esi + 0x18], dx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edx + 0x28]
push ecx
push eax
call dword [0x56468c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], ebx
test al, 2
je 0x4eaf2f
test al, 4
je 0x4eaf2f
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x4eaec7
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4eaec4
test byte [eax + 0x18], 4
je 0x4eaec4
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4eaeb7
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4eaed6
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
jmp 0x4eaedc
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4eaeeb
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
jmp 0x4eaefd
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x4eaefd
cmp byte [ecx + 0x1c], al
je 0x4eaefd
mov byte [ecx + 0x1d], 2
xor edx, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x4eaf13
mov dword [eax + 0x24], esi
jmp 0x4eaf1f
mov dword [ecx + 4], esi
cmp byte [ecx + 0x1c], dl
je 0x4eaf1f
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x4eaf2f
test byte [esi + 0x18], 4
jne 0x4eaf2f
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0x48], ebx
mov edi, dword [ebp - 0x90]
inc ecx
mov dword [ebp - 0x88], ecx
cmp ecx, edi
jl 0x4ead1b
mov esi, dword [ebp + edi*4 - 0x104]
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0xd4]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
test byte [ebp - 0xbc], 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
jne 0x4eafb6
mov eax, dword [ebp - 0xac]
cmp edi, eax
je 0x4eafb6
lea ecx, [ebp - 0x100]
jg 0x4eaf98
lea ecx, [ebp - 0xe0]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [esi + 0x38]
push 4
add ecx, 8
push ecx
add edx, 8
push 0xffffffffffffffff
push edx
call fcn.0040ab34
add esp, 0x10
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x11], 0
mov eax, dword [ebp - 0x100]
je 0x4eb1bc
mov ecx, dword [eax + 0x38]
movzx ebx, word [eax + 0x12]
movzx edx, byte [eax + 1]
mov edi, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax + 0x24]
xor eax, eax
add ebx, edx
mov dword [ebp - 0xd0], ecx
xor ecx, ecx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa8], eax
jle 0x4eb1bc
mov dword [ebp - 0xbc], eax
jmp 0x4eb029
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xb4]
mov esi, dword [edx + eax*4]
cmp eax, ebx
jne 0x4eb088
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [ebp - 0x90]
jge 0x4eb04e
mov eax, dword [ebp + ecx*4 - 0x100]
jmp 0x4eb055
mov eax, dword [ebp + ecx*4 - 0xe0]
movzx edx, byte [eax + 1]
movzx ecx, word [eax + 0x12]
mov eax, dword [eax + 0x38]
add ecx, edx
xor edx, edx
cmp dword [ebp - 0xb0], edx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x88]
sete dl
add edx, dword [ebp - 0xd4]
lea ebx, [edx + ecx]
mov dword [ebp - 0xd4], ebx
mov ecx, dword [ebp - 0xbc]
cmp eax, dword [ebp + ecx - 0x2c]
jne 0x4eb0bf
mov ecx, dword [ebp - 0xa0]
inc ecx
mov dword [ebp - 0xa0], ecx
add ecx, ecx
add ecx, ecx
cmp dword [ebp - 0xb0], 0
mov edi, dword [ebp + ecx - 0x100]
mov dword [ebp - 0xbc], ecx
je 0x4eb1a9
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x90]
jge 0x4eb0f0
mov edx, dword [edi + 0x48]
cmp edx, dword [ebp + ecx*4 - 0x6c]
jne 0x4eb0f0
mov ecx, dword [ebp - 0xc4]
cmp esi, ecx
jb 0x4eb0f0
mov edx, dword [ebp - 0xd0]
add edx, ecx
cmp esi, edx
jb 0x4eb1a9
cmp word [ebp - 0xb8], 0
jne 0x4eb139
movzx edx, byte [esi + 1]
mov ecx, dword [edi + 0x48]
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [esi]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 0x98]
shl eax, 8
push 5
or eax, edx
call fcn.004e0b1e
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
mov dx, word [ecx + eax*2]
cmp dx, word [edi + 0xc]
jbe 0x4eb1a9
cmp dword [ebp - 0x8c], 0
jne 0x4eb1a9
push esi
push edi
lea eax, [ebp - 0x58]
call fcn.004a0964
mov ax, word [ebp - 0x46]
add esp, 8
test ax, ax
je 0x4eb1a3
mov edx, dword [edi + 0x48]
movzx ecx, ax
add ecx, esi
lea eax, [ebp - 0x8c]
push eax
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 [edi + 0x34]
push 3
call fcn.004e0b1e
add esp, 0xc
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xa8]
jl 0x4eb023
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xd0], eax
test eax, eax
jle 0x4eb34d
mov eax, dword [ebp - 0x88]
mov edi, edi
mov edi, dword [ebp + eax*4 - 0x100]
mov eax, dword [ebp + eax*4 - 0x2c]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xe4]
add ebx, dword [ebp - 0x104]
mov dword [ebp - 0x94], ecx
movzx ecx, word [edx + eax*2]
mov esi, ecx
add esi, dword [ebp - 0xe8]
cmp byte [edi + 5], 0
jne 0x4eb240
mov eax, dword [ebp - 0x94]
mov ecx, dword [edi + 0x38]
push 4
push eax
add ecx, 8
push 0xffffffffffffffff
push ecx
call fcn.0040ab34
add esp, 0x10
jmp 0x4eb2f1
cmp dword [ebp - 0xb0], 0
je 0x4eb2cd
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + eax*4 - 4]
push eax
push edi
lea eax, [ebp - 0x70]
call fcn.004a0964
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
add esp, 8
mov dword [ebp - 0x94], ebx
test edx, edx
ja 0x4eb2b9
jb 0x4eb27b
cmp eax, 0x7f
ja 0x4eb28c
and al, 0x7f
mov byte [ebx + 4], al
mov eax, 1
lea esi, [eax + 4]
xor ebx, ebx
jmp 0x4eb2f1
test edx, edx
ja 0x4eb2b9
jb 0x4eb299
cmp eax, 0x3fff
ja 0x4eb2b9
mov ecx, eax
shrd ecx, edx, 7
and al, 0x7f
or cl, 0x80
mov byte [ebx + 5], al
mov eax, 2
shr edx, 7
mov byte [ebx + 4], cl
lea esi, [eax + 4]
xor ebx, ebx
jmp 0x4eb2f1
push edx
push eax
lea ecx, [ebx + 4]
call fcn.0049cab1
add esp, 8
lea esi, [eax + 4]
xor ebx, ebx
jmp 0x4eb2f1
sub dword [ebp - 0x94], 4
cmp ecx, 4
jne 0x4eb2f1
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xcc]
push edx
call fcn.004a0a95
add esp, 4
movzx esi, ax
mov ecx, dword [edi + 0x48]
mov edx, dword [ebp - 0x94]
add dword [ebp - 0xe4], esi
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xcc]
push esi
push edx
push eax
mov eax, ebx
call fcn.004e0f45
add esp, 0x14
cmp dword [ebp - 0x8c], 0
jne 0x4eb588
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xd0]
jl 0x4eb1e3
mov edi, dword [ebp - 0x90]
mov ecx, 1
sub ecx, edi
mov dword [ebp - 0x88], ecx
cmp ecx, edi
jge 0x4eb430
mov ebx, dword [ebp - 0xb0]
jmp 0x4eb373
mov eax, ecx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [ebp + esi - 0xc], 0
jne 0x4eb421
test ecx, ecx
jns 0x4eb39c
mov edx, dword [ebp + esi*4 - 0x88]
cmp edx, dword [ebp + esi*4 - 0x30]
jl 0x4eb421
test esi, esi
jne 0x4eb3a9
mov eax, dword [ebp - 0x2c]
xor edx, edx
xor ecx, ecx
jmp 0x4eb3d8
cmp esi, dword [ebp - 0xac]
jge 0x4eb3c1
xor edx, edx
test ebx, ebx
sete dl
add edx, dword [ebp + esi*4 - 0x88]
jmp 0x4eb3c7
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp + esi*4 - 0x2c]
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, dword [ebp + esi*4 - 0x30]
sub eax, ecx
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp + esi*4 - 0x100]
push ebx
mov ebx, dword [ebp - 0xb4]
push ebx
push eax
push ecx
push edx
mov eax, edi
call fcn.004cc4a1
mov ax, word [ebp - 0xc0]
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xb0]
add esp, 0x14
sub ax, word [ebp + esi*4 - 0x40]
mov byte [ebp + esi - 0xc], 1
mov word [edi + 0x10], ax
mov edi, dword [ebp - 0x90]
inc ecx
mov dword [ebp - 0x88], ecx
cmp ecx, edi
jl 0x4eb373
cmp dword [ebp + 0x10], 0
je 0x4eb49e
mov eax, dword [ebp - 0xcc]
cmp word [eax + 0x12], 0
jne 0x4eb49e
movzx ecx, byte [eax + 6]
mov edx, dword [ebp - 0x100]
cmp cx, word [edx + 0x10]
ja 0x4eb49e
mov edi, edx
call fcn.004cb280
mov ebx, dword [ebp - 0xcc]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
mov eax, edi
call fcn.004e10e9
add esp, 4
cmp dword [ebp - 0x8c], 0
jne 0x4eb50b
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x34]
push ecx
push edx
mov eax, edi
call fcn.004e5d96
add esp, 8
mov dword [ebp - 0x8c], eax
jmp 0x4eb50b
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0x11], 0
je 0x4eb50b
cmp word [ebp - 0xb8], 0
jne 0x4eb50b
xor esi, esi
cmp dword [ebp - 0x90], esi
jle 0x4eb50b
mov edi, dword [ebp - 0x90]
mov ebx, eax
mov eax, dword [ebp + esi*4 - 0x100]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x48]
lea edx, [ebp - 0x8c]
push edx
movzx edx, byte [ecx + 8]
push eax
movzx eax, byte [ecx + 9]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 5
mov ecx, ebx
call fcn.004e0b1e
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4eb4c6
mov esi, dword [ebp - 0x90]
cmp esi, dword [ebp - 0xac]
jge 0x4eb588
mov edi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp + esi*4 - 0xe0]
test ecx, ecx
jne 0x4eb542
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x34]
push edx
push ecx
call fcn.004e5d96
add esp, 8
mov ecx, eax
inc esi
cmp esi, edi
jl 0x4eb525
mov dword [ebp - 0x8c], ecx
jmp 0x4eb588
push 0x53f3a4
push 0xe9c3
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004bd709
lea edx, [edi*4 + 4]
push edx
lea eax, [ebp - 0xe0]
push 0
push eax
mov dword [ebp - 0x8c], 0xb
call fcn.00402e70
add esp, 0x1c
mov esi, dword [ebp - 0xb4]
call fcn.004a8632
xor esi, esi
mov dword [ebp - 0x88], esi
cmp dword [ebp - 0xac], esi
jle 0x4eb680
jmp 0x4eb5b3
mov eax, dword [ebp + esi*4 - 0xe0]
test eax, eax
je 0x4eb66d
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x4eb611
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.00465420
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [ebp - 0x88]
add esp, 0x10
jmp 0x4eb616
call fcn.0049e2cf
cmp dword [ebx + 0x78], 0
jne 0x4eb66d
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x4eb66d
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x4eb668
test al, al
je 0x4eb668
cmp al, 2
jb 0x4eb656
mov eax, dword [0x56a22c]
test eax, eax
je 0x4eb642
call eax
mov eax, ebx
call fcn.004e39f2
mov eax, dword [0x56a230]
test eax, eax
je 0x4eb668
call eax
jmp 0x4eb668
cmp byte [ebx + 4], 0
jne 0x4eb668
push 0
push 0
call fcn.004aa6b6
add esp, 8
call fcn.004b2dc8
inc esi
mov dword [ebp - 0x88], esi
cmp esi, dword [ebp - 0xac]
jl 0x4eb5b3
xor esi, esi
mov dword [ebp - 0x88], esi
cmp dword [ebp - 0x90], esi
jle 0x4eb761
mov eax, dword [ebp + esi*4 - 0x100]
test eax, eax
je 0x4eb74e
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x4eb6f2
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.00465420
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [ebp - 0x88]
add esp, 0x10
jmp 0x4eb6f7
call fcn.0049e2cf
cmp dword [ebx + 0x78], 0
jne 0x4eb74e
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x4eb74e
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x4eb749
test al, al
je 0x4eb749
cmp al, 2
jb 0x4eb737
mov eax, dword [0x56a22c]
test eax, eax
je 0x4eb723
call eax
mov eax, ebx
call fcn.004e39f2
mov eax, dword [0x56a230]
test eax, eax
je 0x4eb749
call eax
jmp 0x4eb749
cmp byte [ebx + 4], 0
jne 0x4eb749
push 0
push 0
call fcn.004aa6b6
add esp, 8
call fcn.004b2dc8
inc esi
mov dword [ebp - 0x88], esi
cmp esi, dword [ebp - 0x90]
jl 0x4eb694
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x8c]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040330b
mov esp, ebp
pop ebp
ret