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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4c3790]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov ebx, edx
mov edx, dword [eax + 0x34]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edx
cmp ecx, esi
jne 0x436fc7
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00495b13
mov esp, ebp
pop ebp
ret
movzx esi, word [eax + 0x12]
movzx ecx, byte [eax + 1]
lea edi, [ecx + esi]
cmp edi, 2
jge 0x436fe1
mov dword [esp + 0x1c], 0
jmp 0x437009
test ebx, ebx
jne 0x436feb
mov dword [esp + 0x1c], ebx
jmp 0x437001
cmp ebx, edi
jne 0x436ffc
mov ebx, dword [ebp + 0x10]
lea edi, [edi + ebx - 2]
mov dword [esp + 0x1c], edi
jmp 0x437001
dec ebx
mov dword [esp + 0x1c], ebx
mov edi, 2
sub edi, dword [ebp + 0x10]
lea ebx, [edi + 1]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x1c]
sub ebx, ecx
lea ecx, [ebx + edi]
cmp ecx, esi
jne 0x43702e
movzx ecx, byte [eax + 6]
mov eax, dword [eax + 0x38]
lea eax, [ecx + eax + 8]
mov dword [esp + 0x74], eax
jmp 0x43704f
mov esi, dword [eax + 0x40]
lea esi, [esi + ecx*2]
movzx ecx, byte [esi + 1]
movzx esi, byte [esi]
shl esi, 8
or ecx, esi
movzx esi, word [eax + 0x14]
and ecx, esi
add ecx, dword [eax + 0x38]
mov dword [esp + 0x74], ecx
mov eax, ecx
movzx ebx, byte [eax]
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ebx, 8
or ebx, ecx
push 0
lea esi, [esp + edi*4 + 0x6c]
shl ebx, 8
or ebx, eax
push esi
push edx
mov dword [esp + 0x68], ebx
call fcn.00431ee0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437201
mov esi, dword [esi]
movzx edx, byte [esi + 1]
add edx, dword [esp + 0x58]
movzx ecx, word [esi + 0x12]
mov eax, edi
lea esi, [edx + ecx + 1]
dec edi
mov dword [esp + 0x58], esi
test eax, eax
je 0x43721d
mov esi, dword [esp + 0x20]
movzx ecx, word [esi + 0x16]
mov edx, dword [esp + 0x1c]
add edx, edi
cmp edx, ecx
jne 0x43710d
cmp byte [esi + 1], 0
je 0x43710d
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 + 0x78], eax
or ebx, ecx
push eax
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.004312e0
movzx edx, ax
add esp, 4
mov dword [esp + edi*4 + 0xac], edx
mov byte [esi + 1], 0
jmp 0x4371e1
mov edx, dword [esp + 0x1c]
mov eax, esi
movzx ecx, byte [eax + 1]
sub edx, ecx
mov ecx, dword [eax + 0x40]
add edx, edi
movzx esi, byte [ecx + edx*2]
lea ecx, [ecx + edx*2]
movzx ecx, byte [ecx + 1]
shl esi, 8
or esi, ecx
movzx ecx, word [eax + 0x14]
and esi, ecx
add esi, dword [eax + 0x38]
movzx ebx, byte [esi]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, edx
movzx edx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
push esi
mov dword [esp + edi*4 + 0x7c], esi
mov dword [esp + 0x60], ebx
call fcn.004312e0
movzx eax, ax
mov dword [esp + 0x40], eax
mov dword [esp + edi*4 + 0xb0], eax
mov eax, dword [esp + 0x2c]
add esp, 4
test byte [eax + 0x16], 4
je 0x4371be
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x28]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x437cd5
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
push edx
add ecx, eax
push esi
push ecx
call fcn.00499190
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
sub edx, dword [eax + 0x38]
add esp, 0xc
add dword [esp + edi*4 + 0x78], edx
mov esi, dword [esp + 0x20]
movzx eax, byte [esi + 1]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
push edx
add ecx, edi
push ecx
call fcn.004369d0
add esp, 0xc
mov edx, dword [esp + 0x28]
push 0
lea esi, [esp + edi*4 + 0x6c]
push esi
push edx
call fcn.00431ee0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x43708d
lea eax, [edi*4 + 4]
push eax
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.00499a80
add esp, 0xc
jmp 0x437d0a
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x20]
mov edi, dword [esp + 0x38]
lea ecx, [eax + 0x50]
mov dword [esp + 0x18], ecx
imul ecx, edi
add esi, 3
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.0041e910
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x43725a
mov dword [esp + 0x14], 7
jmp 0x437d0a
lea eax, [eax + esi*4]
mov dword [esp + 0x24], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 3]
add cx, cx
add cx, cx
movzx edx, cx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], 0
test edi, edi
jle 0x437498
mov ecx, dword [esp + 0x38]
dec ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x20]
add ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
add ebx, dword [esp + 0x48]
mov ecx, 0x13
mov dword [esp + eax*4 + 0x84], ebx
mov eax, dword [esp + eax*4 + 0x68]
mov esi, eax
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.00499190
mov al, byte [ebx + 1]
movzx edi, word [ebx + 0x12]
movzx ecx, al
add esp, 0xc
add edi, ecx
test al, al
je 0x437384
mov dword [esp + 0x40], 0
test edi, edi
jle 0x4373ea
movzx eax, byte [ebx + 1]
dec eax
mov ecx, dword [esp + 0x40]
js 0x437330
lea esi, [ebx + eax*2 + 0x16]
lea esp, [esp]
movzx edx, word [esi]
cmp edx, ecx
jg 0x43732a
je 0x43737e
dec ecx
sub esi, 2
dec eax
jns 0x437320
mov edx, dword [ebx + 0x40]
movzx eax, byte [edx + ecx*2 + 1]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx]
movzx edx, word [ebx + 0x14]
shl ecx, 8
or eax, ecx
and eax, edx
add eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [ecx + esi*4], eax
push eax
mov eax, ebx
call fcn.004312e0
mov edx, dword [esp + 0x28]
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x44]
inc eax
inc esi
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], eax
cmp eax, edi
jl 0x43730a
jmp 0x4373ea
mov eax, dword [ebx + eax*4 + 0x20]
jmp 0x43734c
mov edx, dword [ebx + 0x38]
movzx eax, word [ebx + 0x14]
movzx ecx, word [ebx + 0xe]
mov dword [esp + 0x60], edx
test edi, edi
jle 0x4373ea
mov dword [esp + 0x80], eax
lea esi, [edx + ecx]
mov dword [esp + 0x40], edi
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x30]
shl edx, 8
or ecx, edx
and ecx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + edi*4], eax
push eax
mov eax, ebx
call fcn.004312e0
mov edx, dword [esp + 0x28]
mov word [edx + edi*2], ax
inc edi
add esp, 4
add esi, 2
dec dword [esp + 0x40]
mov dword [esp + 0x30], edi
jne 0x4373a5
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x50]
jge 0x43747d
cmp dword [esp + 0x4c], 0
jne 0x43747d
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov edx, eax
movzx eax, word [esp + edx*4 + 0xac]
mov edx, dword [esp + edx*4 + 0x78]
mov word [ecx + esi*2], ax
mov ecx, dword [esp + 0x44]
push eax
add edi, ecx
push edx
add ecx, eax
push edi
mov dword [esp + 0x50], ecx
call fcn.00499190
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
movzx eax, cx
add eax, edi
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x30]
sub word [eax + esi*2], cx
mov ax, word [eax + esi*2]
add esp, 0xc
cmp byte [ebx + 5], 0
jne 0x437465
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov ecx, edx
mov edx, dword [ecx + esi*4]
mov dword [edx], eax
jmp 0x437478
cmp ax, 4
jae 0x437478
mov edx, dword [esp + 0x24]
mov ecx, 4
mov word [edx + esi*2], cx
inc esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x58], ecx
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x38]
jl 0x4372a6
movzx eax, word [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x24]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
lea edx, [ecx + eax - 0xc]
mov dword [esp + 0x50], edx
xor edx, edx
xor ecx, ecx
xor eax, eax
test ebx, ebx
jle 0x4374f7
mov edi, edi
movzx esi, word [edi + edx*2]
lea eax, [eax + esi + 2]
cmp eax, dword [esp + 0x50]
jle 0x4374f2
sub eax, esi
cmp dword [esp + 0x4c], 0
mov dword [esp + ecx*4 + 0xac], eax
mov dword [esp + ecx*4 + 0xc0], edx
je 0x4374e6
dec edx
inc ecx
xor eax, eax
cmp ecx, 4
jg 0x437588
inc edx
cmp edx, ebx
jl 0x4374c0
mov dword [esp + ecx*4 + 0xc0], ebx
mov dword [esp + ecx*4 + 0xac], eax
inc ecx
mov dword [esp + 0x18], ecx
dec ecx
mov ebx, ecx
mov dword [esp + 0x10], ecx
test ebx, ebx
jle 0x4375c9
lea esp, [esp]
mov edx, dword [esp + ebx*4 + 0xac]
mov esi, dword [esp + ebx*4 + 0xa8]
mov eax, dword [esp + ebx*4 + 0xbc]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x4c]
inc ecx
test edx, edx
je 0x43756a
cmp dword [ebp + 0x10], 0
jne 0x4375ae
movzx edi, word [edi + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 0x24]
movzx edi, word [edi + ecx*2]
sub ebx, 2
lea edi, [edi + edx + 2]
cmp edi, ebx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
jg 0x4375ae
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 + 0xbc]
jmp 0x43752e
push 0x4bcee4
push 0xe56b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00420c70
add esp, 0x10
mov dword [esp + 0x14], 0xb
jmp 0x437d0a
mov dword [esp + ebx*4 + 0xac], edx
mov dword [esp + ebx*4 + 0xa8], esi
dec ebx
mov dword [esp + 0x10], ebx
test ebx, ebx
jg 0x437520
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x48], 1
ja 0x4375df
push 0x4bcee4
push 0xe5a9
jmp 0x437592
mov edx, dword [eax + 0x38]
movzx eax, byte [edx]
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], edi
cmp dword [esp + 0x18], edi
jle 0x4376d7
mov esi, dword [esp + 0x18]
cmp edi, dword [esp + 0x38]
jge 0x437657
mov eax, dword [esp + edi*4 + 0x68]
mov dword [esp + edi*4 + 0xac], eax
mov dword [esp + 0x44], eax
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x94]
mov dword [esp + edi*4 + 0x68], 0
cmp edx, dword [ecx + 0x98]
jbe 0x437646
push eax
call fcn.0042cfa0
inc dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x4376c4
call fcn.0042cdf0
inc dword [esp + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
jmp 0x4376c4
cmp dword [ebp + 0x10], 0
mov eax, 1
jne 0x437666
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
push 0
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
call fcn.00435840
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437d0a
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
inc dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
mov dword [esp + edi*4 + 0xac], eax
je 0x4376ca
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x48]
push edx
push 5
call fcn.00430f60
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x437d0a
inc edi
cmp edi, esi
jl 0x4375fd
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x38]
jge 0x4377d6
cmp dword [esp + 0x14], 0
mov esi, dword [esp + edi*4 + 0x68]
jne 0x437d0a
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x34]
push eax
push ecx
mov eax, esi
call fcn.004360c0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437d0a
test esi, esi
je 0x4377bf
mov eax, dword [esi + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x437763
dec dword [ebx + 0x78]
mov edx, dword [ebx + 0x88]
mov dword [eax + 0xc], edx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov ecx, dword [eax + 4]
mov edi, dword [esi]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x437768
call fcn.004275b0
cmp dword [ebx + 0x78], 0
jne 0x4377bf
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x4377bf
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x4377ba
test al, al
je 0x4377ba
cmp al, 2
jb 0x4377a8
mov eax, dword [0x4c73c4]
test eax, eax
je 0x437794
call eax
mov eax, ebx
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x4377ba
call eax
jmp 0x4377ba
cmp byte [ebx + 4], 0
jne 0x4377ba
push 0
push 0
call fcn.00429b80
add esp, 8
call fcn.00429a10
mov dword [esp + edi*4 + 0x68], 0
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x38]
jl 0x4376e1
mov eax, dword [esp + 0x18]
dec eax
xor ecx, ecx
test eax, eax
jle 0x437844
lea eax, [esp + ecx*4 + 0xac]
mov dword [esp + 0x50], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
lea ebx, [ecx + 1]
mov dword [esp + 0x60], eax
mov edi, ecx
mov eax, ebx
cmp ebx, dword [esp + 0x18]
jge 0x437839
mov edx, dword [esp + eax*4 + 0xac]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x437814
mov edi, eax
mov esi, edx
inc eax
cmp eax, dword [esp + 0x18]
jl 0x437802
cmp edi, ecx
jle 0x437839
mov eax, dword [esp + edi*4 + 0xac]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
lea edi, [esp + edi*4 + 0xac]
mov dword [ecx], eax
mov dword [edi], edx
mov eax, dword [esp + 0x18]
mov ecx, ebx
dec eax
cmp ecx, eax
jl 0x4377e1
mov esi, dword [esp + 0x34]
mov eax, dword [esp + esi*4 + 0xa8]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x48]
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 ebx, ebx
shr edx, 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x10], ebx
cmp esi, ebx
jle 0x437a03
mov eax, dword [esp + 0x10]
mov edi, dword [esp + eax*4 + 0xac]
mov ecx, dword [esp + 0x48]
push ecx
mov esi, edi
call fcn.00431d40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + edx*4 + 0xc4]
mov edx, dword [esp + 0x30]
add esp, 4
lea ecx, [eax + ebx*2]
push ecx
lea eax, [edx + ebx*4]
push eax
mov ecx, esi
sub ecx, ebx
push ecx
push edi
call fcn.00436c50
mov ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0x30]
jge 0x4379f0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esp + 0x24]
movzx ecx, word [ecx + ebx*2]
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x64]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x3c]
add eax, ecx
cmp byte [edi + 5], 0
jne 0x43790a
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x38]
mov edx, dword [edx]
mov dword [ecx + 8], edx
jmp 0x4379ba
cmp dword [esp + 0x4c], 0
je 0x43799c
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + ebx*4 - 4]
dec ebx
push ecx
push edi
lea eax, [esp + 0x98]
call fcn.004311a0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], esi
lea ecx, [esi + 4]
mov esi, dword [esp + 0x9c]
add esp, 8
test esi, esi
ja 0x43798b
jb 0x43794f
cmp eax, 0x7f
ja 0x43795f
and al, 0x7f
mov byte [ecx], al
mov eax, 1
add eax, 4
xor esi, esi
jmp 0x4379ba
test esi, esi
ja 0x43798b
jb 0x43796c
cmp eax, 0x3fff
ja 0x43798b
mov edx, eax
shrd edx, esi, 7
and al, 0x7f
mov byte [ecx + 1], al
or dl, 0x80
mov eax, 2
shr esi, 7
add eax, 4
mov byte [ecx], dl
xor esi, esi
jmp 0x4379ba
push esi
push eax
call fcn.00422530
add esp, 8
add eax, 4
xor esi, esi
jmp 0x4379ba
sub dword [esp + 0x18], 4
cmp ecx, 4
jne 0x4379ba
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
call fcn.004312e0
add esp, 4
movzx eax, ax
mov edx, dword [edi + 0x48]
add dword [esp + 0x54], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esi
call fcn.00436ab0
add esp, 0x14
cmp dword [esp + 0x14], 0
jne 0x437d0a
inc ebx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x34]
jl 0x437882
test byte [esp + 0x48], 8
jne 0x437a25
mov edx, dword [esp + 0x38]
mov eax, dword [esp + edx*4 + 0x80]
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x38]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 0xc], 0
mov esi, dword [esp + 0xac]
je 0x437a7c
mov ebx, dword [esp + 0x20]
cmp word [ebx + 0x12], 0
jne 0x437a7c
movzx edx, byte [ebx + 6]
cmp dx, word [esi + 0x10]
ja 0x437a7c
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00436ea0
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x437d0a
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x34]
push ecx
push edx
mov eax, esi
call fcn.004360c0
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x437d0a
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x437d0a
mov edi, dword [esp + 0x84]
movzx eax, byte [edi + 1]
mov dword [esp + 0x20], esi
movzx esi, word [edi + 0x12]
xor ebx, ebx
add esi, eax
mov dword [esp + 0x54], eax
cmp eax, ebx
je 0x437aaf
movzx eax, word [edi + 0x16]
jmp 0x437ab2
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x30], ebx
jle 0x437c67
mov dword [esp + 0x44], ebx
xor ecx, ecx
cmp ebx, esi
jne 0x437b1a
cmp dword [esp + 0x4c], ecx
sete cl
mov eax, dword [esp + 0x40]
mov edi, dword [esp + eax*4 + 0x88]
movzx edx, word [edi + 0x12]
inc eax
mov dword [esp + 0x40], eax
mov al, byte [edi + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, ebx
test al, al
je 0x437b12
movzx eax, al
mov dword [esp + 0x54], eax
movzx eax, word [edi + 0x16]
add eax, ecx
add eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x437b16
mov eax, dword [esp + 0x1c]
cmp ebx, esi
je 0x437ad9
cmp ebx, eax
jne 0x437b35
mov edx, dword [esp + 0x54]
dec edx
mov ecx, 1
mov dword [esp + 0x54], edx
test edx, edx
jle 0x437b35
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x44]
cmp ebx, dword [esp + edx + 0xc0]
jne 0x437b69
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
add edx, edx
add edx, edx
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x44], edx
mov edx, dword [esp + edx + 0xac]
mov dword [esp + 0x20], edx
je 0x437c5c
test ecx, ecx
jne 0x437b7d
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 0x48]
je 0x437c5c
cmp word [esp + 0x3c], 0
jne 0x437bc9
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
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 + 0x30]
push 5
call fcn.00430f60
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov cx, word [edx + ebx*2]
mov edx, dword [esp + 0x20]
cmp cx, word [edx + 0xc]
jbe 0x437c5c
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x48], edx
jne 0x437c5c
mov ecx, dword [esp + 0x20]
mov eax, edx
push eax
push ecx
lea eax, [esp + 0x98]
call fcn.004311a0
mov ax, word [esp + 0xaa]
add esp, 8
test ax, ax
je 0x437c58
movzx ecx, ax
add ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
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
or eax, ecx
mov ecx, dword [edx + 0x34]
push 3
call fcn.00430f60
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x437acc
cmp word [esp + 0x3c], 0
jne 0x437d0a
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x437d0a
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
jmp 0x437c90
mov eax, dword [esp + esi*4 + 0xac]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x14]
push edx
movzx edx, byte [ecx + 9]
push eax
movzx eax, byte [ecx + 8]
shl eax, 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.00430f60
inc esi
add esp, 0xc
cmp esi, edi
jl 0x437c90
jmp 0x437d0a
push 0x4bcee4
push 0xe4e0
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00420c70
lea edx, [edi*4 + 4]
push edx
lea eax, [esp + 0x7c]
push 0
push eax
mov dword [esp + 0x30], 0xb
call fcn.00499a80
add esp, 0x1c
mov esi, dword [esp + 0x2c]
call fcn.0041ea20
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x38], esi
jle 0x437de7
mov eax, dword [esp + esi*4 + 0x68]
test eax, eax
je 0x437dd8
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x437d7c
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.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x437d81
call fcn.004275b0
cmp dword [ebx + 0x78], 0
jne 0x437dd8
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x437dd8
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x437dd3
test al, al
je 0x437dd3
cmp al, 2
jb 0x437dc1
mov eax, dword [0x4c73c4]
test eax, eax
je 0x437dad
call eax
mov eax, ebx
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x437dd3
call eax
jmp 0x437dd3
cmp byte [ebx + 4], 0
jne 0x437dd3
push 0
push 0
call fcn.00429b80
add esp, 8
call fcn.00429a10
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x38]
jl 0x437d23
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x34], esi
jle 0x437ebe
mov eax, dword [esp + esi*4 + 0xac]
test eax, eax
je 0x437eaf
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x437e53
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.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x437e58
call fcn.004275b0
cmp dword [ebx + 0x78], 0
jne 0x437eaf
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x437eaf
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x437eaa
test al, al
je 0x437eaa
cmp al, 2
jb 0x437e98
mov eax, dword [0x4c73c4]
test eax, eax
je 0x437e84
call eax
mov eax, ebx
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x437eaa
call eax
jmp 0x437eaa
cmp byte [ebx + 4], 0
jne 0x437eaa
push 0
push 0
call fcn.00429b80
add esp, 8
call fcn.00429a10
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x34]
jl 0x437df7
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00495b13
mov esp, ebp
pop ebp
ret