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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xc0]
mov eax, dword [ebx + 0x3c]
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
cmp dword [esp + 0xd0], ebp
jne 0x437509
lea eax, [ebp + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
movzx eax, word [ebx + 0x10]
movzx ecx, byte [ebx + 1]
lea edi, [ecx + eax]
cmp edi, 2
jge 0x437522
lea edx, [edi + 1]
mov dword [esp + 0x2c], edx
jmp 0x43753d
mov dword [esp + 0x2c], 3
cmp edx, ebp
je 0x437538
lea ebp, [edi - 2]
cmp edx, edi
je 0x437538
lea ebp, [edx - 1]
mov edi, 2
mov edx, ebp
sub edx, ecx
lea ecx, [edx + edi]
mov dword [esp + 0x14], ebp
cmp ecx, eax
jne 0x437559
movzx eax, byte [ebx + 5]
mov ecx, dword [ebx + 0x40]
lea ecx, [eax + ecx + 8]
jmp 0x437579
movzx edx, word [ebx + 0xc]
mov eax, dword [ebx + 0x40]
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 [ebx + 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
or eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, ecx
lea esi, [esp + edi*4 + 0x74]
push esi
push eax
push edx
mov dword [esp + 0x28], eax
call fcn.00432470
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43801b
lea ecx, [edi + ebp]
jmp 0x4375c7
mov ecx, dword [esp + 0x44]
mov esi, dword [esi]
movzx edx, byte [esi + 1]
add edx, dword [esp + 0x48]
movzx eax, word [esi + 0x10]
lea eax, [edx + eax + 1]
mov edx, edi
dec ecx
dec edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
test edx, edx
je 0x43774a
movzx eax, word [ebx + 0x18]
cmp ecx, eax
jne 0x437642
cmp byte [ebx + 1], 0
je 0x437642
mov eax, dword [ebx + 0x14]
movzx ecx, byte [eax]
movzx ebp, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ecx, 8
or ebp, ecx
movzx ecx, byte [eax + 3]
shl ebp, 8
or ebp, edx
shl ebp, 8
mov dword [esp + edi*4 + 0x94], eax
or ebp, ecx
push eax
mov eax, ebx
mov dword [esp + 0x20], ebp
call fcn.00431a00
movzx edx, ax
add esp, 4
mov dword [esp + edi*4 + 0x5c], edx
mov byte [ebx + 1], 0
jmp 0x437726
movzx ecx, byte [ebx + 1]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x40]
sub edx, ecx
movzx ecx, word [ebx + 0xc]
add ecx, eax
add edx, edi
lea ecx, [ecx + edx*2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
or edx, ecx
movzx ecx, word [ebx + 0x12]
and edx, ecx
movzx ecx, byte [eax + edx + 1]
add eax, edx
movzx edx, byte [eax]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
lea ebp, [esp + edi*4 + 0x94]
mov dword [ebp], eax
or ecx, edx
push eax
mov eax, ebx
mov dword [esp + 0x20], ecx
call fcn.00431a00
movzx ebx, ax
mov eax, dword [esp + 0x24]
add esp, 4
cmp byte [eax + 0x12], 0
mov dword [esp + edi*4 + 0x5c], ebx
je 0x4376fe
mov esi, dword [ebp]
mov ecx, dword [esp + 0xcc]
mov eax, esi
sub eax, dword [ecx + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [ebx + eax]
cmp edx, dword [ecx + 0x28]
jg 0x437ff7
mov edx, dword [esp + 0xd0]
push ebx
add eax, edx
push esi
push eax
call fcn.00498400
mov eax, dword [esp + 0xd8]
sub esi, dword [eax + 0x40]
add esp, 0xc
add esi, dword [esp + 0xd0]
mov dword [ebp], esi
mov esi, dword [esp + 0xcc]
movzx edx, byte [esi + 1]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
add eax, edi
push ebx
push eax
call fcn.00436f00
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov ebx, esi
mov ecx, dword [esp + 0x20]
lea esi, [esp + edi*4 + 0x74]
push esi
push ebp
push ecx
call fcn.00432470
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x4375c3
jmp 0x43801b
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
lea edi, [eax + 3]
mov eax, dword [ecx + 0x24]
lea ecx, [eax + 0x50]
mov dword [esp + 0x4c], ecx
imul ecx, esi
and edi, 0xfffffffc
lea edx, [edi + edi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.00423710
mov dword [esp + 0x28], eax
test eax, eax
jne 0x437787
mov dword [esp + 0x10], 7
jmp 0x438032
lea eax, [eax + edi*4]
mov dword [esp + 0x34], eax
lea eax, [eax + edi*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 + 0x58], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], 0
test esi, esi
jle 0x437953
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x48], 0
jmp 0x4377e0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x24]
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea ebx, [eax + ecx]
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 + 0x40], ecx
mov edx, dword [edx + 0x24]
mov eax, dword [eax + 0x40]
push edx
push eax
push ecx
call fcn.00498400
movzx eax, word [ebx + 0x10]
movzx ecx, byte [ebx + 1]
mov edi, dword [esp + 0x40]
add eax, ecx
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], 0
test eax, eax
jle 0x4378af
movzx eax, byte [ebx + 1]
sub eax, 1
mov ecx, dword [esp + 0x50]
js 0x437869
lea edx, [ebx + eax*8 + 0x14]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x437861
je 0x43791d
dec ecx
dec eax
sub edx, 8
test eax, eax
jge 0x437852
movzx eax, word [ebx + 0xc]
mov edx, dword [ebx + 0x40]
add eax, edx
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or eax, ecx
movzx ecx, word [ebx + 0x12]
and eax, ecx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [edx + ebp*4], eax
push eax
mov eax, ebx
call fcn.00431a00
mov word [edi + ebp*2], ax
mov eax, dword [esp + 0x54]
inc eax
add esp, 4
inc ebp
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
jl 0x437841
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x70]
jge 0x437934
cmp dword [esp + 0x38], 0
jne 0x437934
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, eax
movzx eax, word [esp + edx*4 + 0x5c]
mov word [edi + ebp*2], ax
movzx eax, ax
add esi, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + edx*4 + 0x94]
push eax
push ecx
push esi
call fcn.00498400
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
movzx edx, ax
add edx, esi
mov dword [ecx + ebp*4], edx
sub word [edi + ebp*2], ax
movzx eax, word [edi + ebp*2]
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x437924
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
mov eax, ecx
mov ecx, dword [eax + ebp*4]
mov dword [ecx], edx
jmp 0x437933
mov eax, dword [edx]
jmp 0x437889
cmp ax, 4
jae 0x437933
mov eax, 4
mov word [edi + ebp*2], ax
inc ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x48], ecx
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jl 0x4377e0
mov dword [esp + 0x30], ebp
movzx eax, word [esp + 0x58]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x28]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea esi, [ecx + eax - 0xc]
xor ecx, ecx
xor ebp, ebp
xor eax, eax
test ebx, ebx
jle 0x4379a3
movzx edx, word [edi + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x43799e
sub eax, edx
cmp dword [esp + 0x38], 0
mov dword [esp + ebp*4 + 0x5c], eax
mov dword [esp + ebp*4 + 0x80], ecx
je 0x437996
dec ecx
inc ebp
xor eax, eax
cmp ebp, 4
jg 0x437a10
inc ecx
cmp ecx, ebx
jl 0x437975
mov dword [esp + ebp*4 + 0x80], ebx
inc ebp
mov dword [esp + ebp*4 + 0x58], eax
lea ebx, [ebp - 1]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], ebx
test ebx, ebx
jle 0x437a4f
mov edx, dword [esp + ebx*4 + 0x5c]
mov esi, dword [esp + ebx*4 + 0x58]
mov eax, dword [esp + ebx*4 + 0x7c]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x38]
inc ecx
test edx, edx
je 0x4379f5
movzx ebx, word [edi + eax*2]
mov ebp, esi
sub ebp, ebx
movzx ebx, word [edi + ecx*2]
lea ebx, [ebx + edx + 2]
sub ebp, 2
cmp ebx, ebp
mov ebx, dword [esp + 0x18]
jg 0x437a36
movzx ecx, word [edi + ecx*2]
movzx eax, word [edi + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add esi, ecx
dec dword [esp + ebx*4 + 0x7c]
jmp 0x4379ca
push 0x4c510c
push 0xc74d
push str.database_corruption_at_line__d_of___.10s_
mov eax, 0xb
call fcn.004250c0
mov dword [esp + 0x1c], 0xb
jmp 0x43802f
mov dword [esp + ebx*4 + 0x5c], edx
mov dword [esp + ebx*4 + 0x58], esi
dec ebx
mov dword [esp + 0x18], ebx
test ebx, ebx
jg 0x4379c2
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x48], 1
ja 0x437a65
push 0x4c510c
push 0xc783
jmp 0x437a1a
mov edx, dword [eax + 0x40]
movzx eax, byte [edx]
xor esi, esi
mov dword [esp + 0x44], eax
test ebp, ebp
jle 0x437b1e
mov ebx, dword [esp + 0x20]
cmp esi, dword [esp + 0x2c]
jge 0x437aaf
mov eax, dword [esp + esi*4 + 0x74]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + esi*4 + 0x60], eax
mov dword [esp + 0x44], eax
mov dword [esp + esi*4 + 0x78], 0
call fcn.0042df50
mov edi, eax
add esp, 4
inc dword [esp + 0x24]
mov dword [esp + 0x10], edi
jmp 0x437b0b
mov edx, dword [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
call fcn.00435e60
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
test edi, edi
jne 0x438032
mov eax, dword [esp + 0x40]
inc dword [esp + 0x24]
cmp byte [ebx + 0x15], 0
mov dword [esp + esi*4 + 0x5c], eax
je 0x437b13
mov ecx, dword [esp + 0xcc]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx + 0x48]
push edx
push 5
push ebx
call fcn.00431550
mov edi, dword [esp + 0x20]
add esp, 0x10
test edi, edi
jne 0x438032
inc esi
cmp esi, ebp
jl 0x437a7d
jmp 0x437b22
mov edi, dword [esp + 0x10]
cmp esi, dword [esp + 0x2c]
jge 0x437b7b
jmp 0x437b30
mov ebx, dword [esp + esi*4 + 0x74]
test edi, edi
jne 0x438032
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
mov eax, ebx
call fcn.004366c0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x438032
test ebx, ebx
je 0x437b6c
mov edx, dword [ebx + 0x44]
push edx
call fcn.0042db90
add esp, 4
mov dword [esp + esi*4 + 0x74], 0
inc esi
cmp esi, dword [esp + 0x2c]
jl 0x437b30
lea eax, [ebp - 1]
xor ecx, ecx
test eax, eax
jle 0x437bd5
lea eax, [esp + ecx*4 + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
lea ebx, [ecx + 1]
cmp ebx, ebp
mov dword [esp + 0x40], eax
mov edi, ecx
mov eax, ebx
jge 0x437bcc
mov edx, dword [esp + eax*4 + 0x5c]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x437baf
mov edi, eax
mov esi, edx
inc eax
cmp eax, ebp
jl 0x437ba0
cmp edi, ecx
jle 0x437bcc
mov ecx, dword [esp + edi*4 + 0x5c]
mov edx, dword [esp + 0x70]
lea eax, [esp + edi*4 + 0x5c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, ebx
lea eax, [ebp - 1]
cmp ecx, eax
jl 0x437b84
mov esi, dword [esp + 0x24]
mov eax, dword [esp + esi*4 + 0x58]
mov eax, dword [eax + 0x48]
mov ecx, dword [esp + 0x54]
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
xor ebp, ebp
xor edi, edi
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x437d3a
mov eax, dword [esp + 0x44]
mov esi, dword [esp + ebp*4 + 0x5c]
push eax
call fcn.00432330
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + ebp*4 + 0x84]
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.004371b0
mov edi, ebx
add esp, 0x10
cmp edi, dword [esp + 0x30]
jge 0x437d2b
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
movzx ecx, word [ecx + edi*2]
mov ebp, dword [eax + edi*4]
movzx edx, word [esp + 0x58]
mov ebx, dword [esp + 0x3c]
movzx eax, cx
add eax, edx
mov edx, dword [esp + 0xd0]
add ebx, edx
cmp byte [esi + 3], 0
jne 0x437c87
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp]
mov dword [ecx + 8], edx
jmp 0x437ce9
cmp dword [esp + 0x38], 0
je 0x437ccd
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + edi*4 - 4]
lea eax, [esp + 0xa8]
dec edi
push eax
push edx
push esi
call fcn.004318c0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebx + 4]
mov ebp, ebx
call fcn.004262b0
add esp, 8
add eax, 4
xor ebx, ebx
jmp 0x437ce9
sub ebp, 4
cmp cx, 4
jne 0x437ce9
mov eax, dword [esp + 0xcc]
push ebp
call fcn.00431a00
add esp, 4
movzx eax, ax
add dword [esp + 0x3c], eax
cmp dword [esp + 0x10], 0
jne 0x438032
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xd4]
push ebx
push ebp
push edx
call fcn.00436ff0
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x438032
mov ebp, dword [esp + 0x18]
inc edi
inc dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
jl 0x437c0e
test byte [esp + 0x44], 8
jne 0x437d60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + eax*4 + 0x98]
mov edx, dword [ecx + 0x40]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + eax*4 + 0x58]
mov ecx, dword [eax + 0x40]
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
cmp dword [esp + 0xd4], 0
mov ebx, dword [esp + 0x5c]
je 0x437dc1
mov eax, dword [esp + 0xcc]
cmp word [eax + 0x10], 0
jne 0x437dc1
movzx ax, byte [eax + 5]
cmp ax, word [ebx + 0xe]
ja 0x437dc1
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0x10]
push ecx
call fcn.00437410
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x438032
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
push edx
push eax
mov eax, ebx
call fcn.004366c0
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x438032
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x15], 0
je 0x438032
mov dword [esp + 0x14], 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 + 0x3c], eax
cmp eax, edi
je 0x437df8
movzx edx, word [ebx + 0x18]
mov dword [esp + 0x1c], edx
jmp 0x437e00
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
jle 0x437f95
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp edi, esi
jne 0x437e62
cmp dword [esp + 0x38], ecx
sete cl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + eax*4 + 0xa0]
movzx ebp, word [ebx + 0x10]
inc eax
mov dword [esp + 0x50], eax
mov al, byte [ebx + 1]
movzx esi, al
add ebp, ecx
add esi, ebp
add esi, edi
test al, al
je 0x437e5a
movzx edx, word [ebx + 0x18]
movzx eax, al
add edx, ecx
mov dword [esp + 0x3c], eax
add edx, edi
cmp edi, esi
je 0x437e27
mov dword [esp + 0x1c], edx
cmp edi, edx
jne 0x437e7d
mov eax, dword [esp + 0x3c]
dec eax
mov ecx, 1
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x437e7d
inc edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
cmp edi, dword [esp + edx + 0x80]
jne 0x437eae
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x38], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + eax + 0x5c]
mov dword [esp + 0x14], eax
je 0x437f88
test ecx, ecx
jne 0x437ec2
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x437f88
cmp word [esp + 0x58], 0
jne 0x437f0b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x14]
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
mov edx, dword [esp + 0x28]
shl eax, 8
push 5
or eax, ecx
push edx
call fcn.00431550
add esp, 0x10
mov eax, dword [esp + 0x34]
mov cx, word [eax + edi*2]
mov edx, dword [esp + 0x14]
cmp cx, word [edx + 0xa]
jbe 0x437f88
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov ebp, dword [eax + edi*4]
jne 0x437f88
lea ecx, [esp + 0xa8]
push ecx
push ebp
push edx
call fcn.004318c0
mov ax, word [esp + 0xd0]
add esp, 0xc
test ax, ax
je 0x437f88
mov edx, dword [esp + 0x14]
movzx ecx, ax
add ecx, ebp
movzx ebp, byte [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x48]
mov edx, dword [edx + 0x3c]
push eax
movzx eax, byte [ecx + 1]
shl ebp, 8
or eax, ebp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, ebp
shl eax, 8
push 3
or eax, ecx
push edx
call fcn.00431550
add esp, 0x10
inc edi
cmp edi, dword [esp + 0x30]
jl 0x437e16
xor edi, edi
cmp word [esp + 0x58], di
jne 0x438032
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x438032
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + esi*4 + 0x5c]
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
push 5
or eax, ecx
push ebx
call fcn.00431550
inc esi
add esp, 0x10
cmp esi, edi
jl 0x437fb4
jmp 0x438032
push 0x4c510c
push 0xc6ce
push str.database_corruption_at_line__d_of___.10s_
mov eax, 0xb
call fcn.004250c0
add esp, 0xc
mov dword [esp + 0x10], 0xb
lea edx, [edi*4 + 4]
push edx
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004957a0
add esp, 0xc
mov esi, dword [esp + 0x28]
call fcn.00423830
mov edi, dword [esp + 0x2c]
xor esi, esi
test edi, edi
jle 0x43805e
mov eax, dword [esp + esi*4 + 0x74]
test eax, eax
je 0x438059
mov ecx, dword [eax + 0x44]
push ecx
call fcn.0042db90
add esp, 4
inc esi
cmp esi, edi
jl 0x438045
mov edi, dword [esp + 0x24]
xor esi, esi
test edi, edi
jle 0x438081
mov eax, dword [esp + esi*4 + 0x5c]
test eax, eax
je 0x43807c
mov edx, dword [eax + 0x44]
push edx
call fcn.0042db90
add esp, 4
inc esi
cmp esi, edi
jl 0x438068
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret