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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xd0]
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0xc8]
mov ecx, dword [esi + 0x34]
xor ebp, ebp
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0xd4], eax
jne 0x436f82
lea eax, [ebp + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
movzx ecx, word [esi + 0x10]
movzx edx, byte [esi + 1]
lea edi, [edx + ecx]
cmp edi, 2
jl 0x436fb4
cmp dword [esp + 0xd0], eax
je 0x436fad
mov eax, dword [esp + 0xd0]
cmp eax, edi
jne 0x436fac
lea eax, [edi + ebx - 2]
jmp 0x436fad
dec eax
mov edi, 2
sub edi, ebx
mov dword [esp + 0x20], eax
sub eax, edx
add eax, edi
lea ebx, [edi + 1]
mov dword [esp + 0x34], ebx
cmp eax, ecx
jne 0x436fd4
movzx edx, byte [esi + 5]
mov eax, dword [esi + 0x38]
lea ecx, [edx + eax + 8]
jmp 0x436ff0
mov ecx, dword [esi + 0x40]
movzx edx, byte [ecx + eax*2]
lea eax, [ecx + eax*2]
movzx ecx, byte [eax + 1]
movzx eax, word [esi + 0x12]
shl edx, 8
or ecx, edx
and ecx, eax
add ecx, dword [esi + 0x38]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
movzx ecx, byte [ecx + 3]
push 0
shl eax, 8
lea ebx, [esp + edi*4 + 0x78]
or eax, ecx
push ebx
push edx
mov dword [esp + 0x68], eax
call fcn.00432180
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4371d9
mov eax, dword [esp + 0x20]
lea ecx, [eax + edi]
jmp 0x437048
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
movzx edx, word [eax + 0x10]
movzx eax, byte [eax + 1]
add eax, dword [esp + 0x54]
dec ecx
lea eax, [eax + edx + 1]
mov edx, edi
dec edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], ecx
test edx, edx
je 0x4371f5
movzx eax, word [esi + 0x14]
cmp ecx, eax
jne 0x4370c3
cmp byte [esi + 1], 0
je 0x4370c3
mov eax, dword [esi + 0x20]
movzx ebx, byte [eax]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, edx
shl ebx, 8
mov dword [esp + edi*4 + 0x80], eax
or ebx, ecx
push eax
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.00431630
movzx edx, ax
add esp, 4
mov dword [esp + edi*4 + 0x60], edx
mov byte [esi + 1], 0
jmp 0x4371b3
movzx eax, byte [esi + 1]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x40]
sub ecx, eax
add ecx, edi
lea eax, [edx + ecx*2]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
movzx eax, word [esi + 0x12]
shl edx, 8
or ecx, edx
mov edx, dword [esi + 0x38]
and ecx, eax
movzx ebx, byte [ecx + edx]
lea eax, [ecx + edx]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, edx
shl ebx, 8
mov dword [esp + edi*4 + 0x80], eax
or ebx, ecx
push eax
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.00431630
mov edx, dword [esp + 0x28]
movzx eax, ax
add esp, 4
test byte [edx + 0x16], 4
mov dword [esp + 0x2c], eax
mov dword [esp + edi*4 + 0x60], eax
je 0x43718d
mov esi, dword [esp + edi*4 + 0x80]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x2c]
mov eax, esi
sub eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x24]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x437b8b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xd4]
push edx
add eax, ecx
push esi
push eax
call fcn.004adef0
mov edx, dword [esp + 0xd8]
sub esi, dword [edx + 0x38]
add esp, 0xc
add esi, dword [esp + 0xd4]
mov dword [esp + edi*4 + 0x80], esi
mov esi, dword [esp + 0xcc]
movzx edx, byte [esi + 1]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
sub eax, edx
push ecx
add eax, edi
push eax
call fcn.00436990
add esp, 0xc
mov ecx, dword [esp + 0x24]
lea eax, [esp + edi*4 + 0x74]
push 0
push eax
mov dword [esp + 0x34], eax
push ecx
mov eax, ebx
call fcn.00432180
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x437040
lea edx, [edi*4 + 4]
push edx
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004aaf30
add esp, 0xc
jmp 0x437bc3
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
lea esi, [eax + 3]
mov eax, dword [ecx + 0x20]
lea ecx, [eax + 0x50]
mov dword [esp + 0x1c], ecx
imul ecx, edi
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.00420800
mov dword [esp + 0x40], eax
test eax, eax
jne 0x437232
mov dword [esp + 0x14], 7
jmp 0x437bc3
lea eax, [eax + esi*4]
mov dword [esp + 0x38], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x44], 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 + 0x2c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], ebp
test edi, edi
jle 0x437438
mov dword [esp + 0x54], ebp
mov edi, edi
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x20]
add ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x18]
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 + 0x38], ecx
mov edx, dword [edx + 0x20]
mov eax, dword [eax + 0x38]
push edx
push eax
push ecx
call fcn.004adef0
mov al, byte [ebx + 1]
movzx ecx, word [ebx + 0x10]
movzx edx, al
add ecx, edx
add esp, 0xc
mov dword [esp + 0x28], ecx
test al, al
jbe 0x437337
xor edi, edi
test ecx, ecx
jle 0x437398
movzx eax, byte [ebx + 1]
sub eax, 1
mov ecx, edi
js 0x4372f2
lea esi, [ebx + eax*2 + 0x14]
movzx edx, word [esi]
cmp edx, ecx
jg 0x4372ea
je 0x437331
dec ecx
dec eax
sub esi, 2
test eax, eax
jge 0x4372e0
mov eax, dword [ebx + 0x40]
movzx edx, word [ebx + 0x12]
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or eax, ecx
and eax, edx
add eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [ecx + ebp*4], eax
push eax
mov eax, ebx
call fcn.00431630
mov edx, dword [esp + 0x3c]
mov word [edx + ebp*2], ax
inc edi
add esp, 4
inc ebp
cmp edi, dword [esp + 0x28]
jl 0x4372d1
jmp 0x437398
mov eax, dword [ebx + eax*4 + 0x20]
jmp 0x43730d
mov edx, dword [esp + 0x28]
mov edi, dword [ebx + 0x38]
movzx eax, word [ebx + 0x12]
movzx ecx, word [ebx + 0xc]
test edx, edx
jle 0x437398
movzx eax, ax
movzx esi, cx
mov dword [esp + 0x48], eax
add esi, edi
mov dword [esp + 0x28], edx
lea ebx, [ebx]
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
shl edx, 8
or ecx, edx
and ecx, dword [esp + 0x48]
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x40]
mov dword [ecx + ebp*4], eax
push eax
mov eax, ebx
call fcn.00431630
mov edx, dword [esp + 0x3c]
mov word [edx + ebp*2], ax
add esp, 4
inc ebp
add esi, 2
sub dword [esp + 0x28], 1
jne 0x437360
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
dec eax
cmp ecx, eax
jge 0x43741d
cmp dword [esp + 0x4c], 0
jne 0x43741d
movzx eax, word [esp + ecx*4 + 0x60]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov word [esi + ebp*2], ax
movzx eax, ax
add edi, edx
push eax
add edx, eax
mov eax, dword [esp + ecx*4 + 0x84]
push eax
push edi
mov dword [esp + 0x48], edx
call fcn.004adef0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
movzx edx, ax
add edx, edi
mov dword [ecx + ebp*4], edx
sub word [esi + ebp*2], ax
movzx eax, word [esi + ebp*2]
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x437409
mov eax, dword [ebx + 0x38]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x437418
cmp ax, 4
jae 0x437418
mov eax, 4
mov word [esi + ebp*2], ax
mov ecx, dword [esp + 0x18]
inc ebp
mov edx, dword [esp + 0x1c]
add dword [esp + 0x54], edx
inc ecx
cmp ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
jl 0x437270
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0x24]
movzx eax, word [esp + 0x2c]
mov edx, dword [ecx + 0x24]
mov ebx, dword [esp + 0x38]
lea eax, [edx + eax - 0xc]
mov dword [esp + 0x48], eax
xor ecx, ecx
xor esi, esi
xor eax, eax
test ebp, ebp
jle 0x437491
mov edi, dword [esp + 0x4c]
mov edi, edi
movzx edx, word [ebx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, dword [esp + 0x48]
jle 0x43748c
sub eax, edx
mov dword [esp + esi*4 + 0x60], eax
mov dword [esp + esi*4 + 0x88], ecx
test edi, edi
je 0x437480
dec ecx
inc esi
xor eax, eax
cmp esi, 4
jg 0x43750e
inc ecx
cmp ecx, ebp
jl 0x437460
mov dword [esp + esi*4 + 0x88], ebp
mov dword [esp + esi*4 + 0x60], eax
inc esi
mov dword [esp + 0x1c], esi
dec esi
mov ebp, esi
mov dword [esp + 0x18], esi
test ebp, ebp
jle 0x437549
mov edx, dword [esp + ebp*4 + 0x60]
mov esi, dword [esp + ebp*4 + 0x5c]
mov eax, dword [esp + ebp*4 + 0x84]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x4c]
inc ecx
test edx, edx
je 0x4374f0
cmp dword [esp + 0xdc], 0
jne 0x437534
movzx edi, word [ebx + eax*2]
mov ebp, esi
sub ebp, edi
movzx edi, word [ebx + ecx*2]
sub ebp, 2
lea edi, [edi + edx + 2]
cmp edi, ebp
mov ebp, dword [esp + 0x18]
jg 0x437534
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 + ebp*4 + 0x84]
jmp 0x4374b8
push 0x4da09c
push 0xe49d
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004226a0
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x437bc3
mov dword [esp + ebp*4 + 0x60], edx
mov dword [esp + ebp*4 + 0x5c], esi
dec ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jg 0x4374b0
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x48], 1
ja 0x43755f
push 0x4da09c
push 0xe4db
jmp 0x437518
mov edx, dword [eax + 0x38]
movzx eax, byte [edx]
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x44], eax
jle 0x437657
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x34]
jge 0x4375da
mov eax, dword [esp + esi*4 + 0x74]
mov ecx, dword [eax + 0x44]
mov dword [esp + esi*4 + 0x60], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x94]
mov dword [esp + esi*4 + 0x74], 0
push ecx
cmp edx, dword [eax + 0x98]
jbe 0x4375c6
call fcn.0042d900
inc dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x437648
call fcn.0042d750
inc dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x437648
mov eax, 1
test ebx, ebx
jne 0x4375e7
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.00435840
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437bc3
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x30]
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0x60], eax
je 0x43764e
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0xd0]
mov edx, dword [edx + 0x48]
push edx
push 5
push eax
mov eax, ecx
call fcn.004312a0
add esp, 0x10
cmp dword [esp + 0x14], 0
jne 0x437bc3
inc esi
cmp esi, edi
jl 0x437580
cmp esi, dword [esp + 0x34]
jge 0x4376ad
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + esi*4 + 0x74]
test ebx, ebx
jne 0x437bc3
mov ecx, dword [ebp + 0x34]
mov ebx, dword [ebp + 0x48]
push ecx
mov eax, ebp
call fcn.00436070
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x437bc3
test ebp, ebp
je 0x4376a0
mov edx, dword [ebp + 0x44]
push edx
call fcn.0042d520
add esp, 4
mov dword [esp + esi*4 + 0x74], 0
inc esi
cmp esi, edi
jl 0x437665
mov eax, dword [esp + 0x1c]
dec eax
xor ecx, ecx
test eax, eax
jle 0x437715
jmp 0x4376c0
mov eax, dword [esp + ecx*4 + 0x60]
mov esi, dword [eax + 0x48]
lea edi, [esp + ecx*4 + 0x60]
lea ebp, [ecx + 1]
cmp ebp, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov ebx, ecx
mov eax, ebp
jge 0x43770a
lea esp, [esp]
mov edx, dword [esp + eax*4 + 0x60]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x4376ef
mov ebx, eax
mov esi, edx
inc eax
cmp eax, dword [esp + 0x1c]
jl 0x4376e0
cmp ebx, ecx
jle 0x43770a
mov ecx, dword [esp + ebx*4 + 0x60]
mov edx, dword [esp + 0x48]
lea eax, [esp + ebx*4 + 0x60]
mov dword [edi], ecx
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov ecx, ebp
dec eax
cmp ecx, eax
jl 0x4376c0
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + esi*4 + 0x5c]
mov eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
xor edi, edi
shr edx, 8
cmp esi, edi
mov dword [esp + 0x48], ebp
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x18], edi
jle 0x4378d5
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + ebx*4 + 0x60]
push eax
mov esi, ebp
call fcn.00432080
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + ebx*4 + 0x8c]
mov ebx, dword [esp + 0x44]
add esp, 4
lea edx, [ecx + edi*2]
push edx
lea eax, [ebx + edi*4]
push eax
mov ecx, esi
sub ecx, edi
push ecx
push ebp
call fcn.00436c30
mov edi, esi
add esp, 0x10
cmp edi, dword [esp + 0x28]
jge 0x4378be
mov eax, dword [esp + 0x38]
mov edx, dword [ebx + edi*4]
movzx eax, word [eax + edi*2]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
movzx edx, word [esp + 0x2c]
movzx ecx, ax
add ecx, edx
mov edx, dword [esp + 0xd4]
add esi, edx
cmp byte [ebp + 3], 0
jne 0x4377d5
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x38]
mov edx, dword [edx]
mov dword [eax + 8], edx
jmp 0x437886
cmp dword [esp + 0x4c], 0
je 0x437864
mov ecx, dword [ebx + edi*4 - 4]
dec edi
push ebp
lea eax, [esp + 0xac]
call fcn.004314e0
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x20], esi
add esp, 4
add esi, 4
test edx, edx
ja 0x437851
jb 0x437815
cmp eax, 0x7f
ja 0x437825
and al, 0x7f
mov byte [esi], al
mov eax, 1
lea ecx, [eax + 4]
xor esi, esi
jmp 0x437886
test edx, edx
ja 0x437851
jb 0x437832
cmp eax, 0x3fff
ja 0x437851
mov ecx, eax
shrd ecx, edx, 7
and al, 0x7f
or cl, 0x80
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 2
shr edx, 7
lea ecx, [eax + 4]
xor esi, esi
jmp 0x437886
push edx
push eax
mov ecx, esi
call fcn.00423dd0
add esp, 8
lea ecx, [eax + 4]
xor esi, esi
jmp 0x437886
sub dword [esp + 0x1c], 4
cmp ax, 4
jne 0x437886
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xcc]
push edx
call fcn.00431630
add esp, 4
movzx ecx, ax
mov edx, dword [ebp + 0x48]
add dword [esp + 0x50], ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0xdc]
mov eax, esi
call fcn.00436a60
add esp, 0x10
cmp dword [esp + 0x14], 0
jne 0x437bc3
inc edi
inc dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jl 0x437750
mov ebp, dword [esp + 0x48]
test byte [esp + 0x44], 8
jne 0x4378f3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + eax*4 + 0x98]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp + 0x38]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x60]
xor edi, edi
cmp dword [esp + 0xd8], edi
je 0x43794d
mov eax, dword [esp + 0xcc]
cmp word [eax + 0x10], di
jne 0x43794d
movzx dx, byte [eax + 5]
cmp dx, word [esi + 0xe]
ja 0x43794d
lea ecx, [esp + 0x14]
push ecx
mov ebx, esi
call fcn.00436e80
add esp, 4
cmp dword [esp + 0x14], edi
jne 0x437bc3
mov edx, dword [esi + 0x34]
mov ebx, dword [esi + 0x48]
push edx
mov eax, esi
call fcn.00436070
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x437bc3
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x11], 0
je 0x437bc3
mov ebx, dword [esp + 0x9c]
movzx eax, byte [ebx + 1]
mov dword [esp + 0x20], esi
movzx esi, word [ebx + 0x10]
add esi, eax
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x43797e
movzx ebp, word [ebx + 0x14]
jmp 0x437981
or ebp, 0xffffffff
cmp dword [esp + 0x28], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x1c], edi
jle 0x437b29
mov dword [esp + 0x3c], edi
jmp 0x4379a0
xor ecx, ecx
cmp edi, esi
jne 0x4379eb
cmp dword [esp + 0x4c], ecx
sete cl
lea ecx, [ecx]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + eax*4 + 0xa0]
movzx edx, word [ebx + 0x10]
inc eax
mov dword [esp + 0x58], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x4379e3
movzx ebp, word [ebx + 0x14]
movzx eax, al
add ebp, ecx
mov dword [esp + 0x50], eax
add ebp, edi
cmp edi, esi
je 0x4379b0
mov dword [esp + 0x18], ebp
cmp edi, ebp
jne 0x437a06
mov eax, dword [esp + 0x50]
dec eax
mov ecx, 1
mov dword [esp + 0x50], eax
test eax, eax
jle 0x437a06
inc ebp
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x3c]
cmp edi, dword [esp + edx + 0x88]
jne 0x437a37
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + eax + 0x60]
mov dword [esp + 0x20], eax
je 0x437b1c
test ecx, ecx
jne 0x437a4b
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 0x48]
je 0x437b1c
cmp word [esp + 0x2c], 0
jne 0x437a94
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edi*4]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x48]
movzx edx, byte [eax]
push ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x2c]
push 5
push edx
call fcn.004312a0
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov dx, word [ecx + edi*2]
mov eax, dword [esp + 0x20]
cmp dx, word [eax + 0xa]
jbe 0x437b1c
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x40]
mov ebp, dword [ecx + edi*4]
jne 0x437b18
mov edx, eax
push edx
lea eax, [esp + 0xac]
mov ecx, ebp
call fcn.004314e0
mov ax, word [esp + 0xc4]
add esp, 4
test ax, ax
je 0x437b18
movzx eax, ax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x48]
push edx
movzx edx, byte [eax + ebp]
add eax, ebp
movzx ebp, byte [eax + 1]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebp
shl edx, 8
or edx, eax
mov eax, dword [ecx + 0x34]
push 3
push edx
call fcn.004312a0
add esp, 0x10
mov ebp, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x28]
jl 0x4379a0
xor edi, edi
cmp word [esp + 0x2c], di
jne 0x437bc3
mov ebx, dword [esp + 0x30]
xor esi, esi
cmp ebx, edi
jle 0x437bc3
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + esi*4 + 0x60]
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x48]
add eax, 8
lea edx, [esp + 0x14]
push edx
movzx edx, byte [eax + 1]
push ecx
movzx ecx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
push 5
push edx
mov eax, edi
call fcn.004312a0
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x437b46
jmp 0x437bc3
push 0x4da09c
push 0xe412
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004226a0
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x88]
push 0
push edx
mov dword [esp + 0x30], 0xb
call fcn.004aaf30
add esp, 0x1c
mov esi, dword [esp + 0x40]
call fcn.00420910
mov edi, dword [esp + 0x34]
xor esi, esi
test edi, edi
jle 0x437bef
mov eax, dword [esp + esi*4 + 0x74]
test eax, eax
je 0x437bea
mov eax, dword [eax + 0x44]
push eax
call fcn.0042d520
add esp, 4
inc esi
cmp esi, edi
jl 0x437bd6
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x437c19
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x60]
test eax, eax
je 0x437c14
mov ecx, dword [eax + 0x44]
push ecx
call fcn.0042d520
add esp, 4
inc esi
cmp esi, edi
jl 0x437c00
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret