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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0xe8], eax
mov dword [esp + 0x6c], 0
mov esi, 8
cmp byte [ecx + 0x2e], 0
jne 0x58b7af
mov dword [esp + 0x4c], edx
cmp byte [ecx + 0x2b], 0
mov dword [esp + 4], ecx
je 0x58a9df
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov byte [ecx + 0x2d], 1
cmp dword [ebp + 8], 0
je 0x58a9d5
cmp byte [ecx + 0x2b], 0
jne 0x58aa29
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 0
push esi
call ecx
add esp, 0x10
mov ebx, eax
cmp dword [ebp + 0xc], 0
je 0x58aa14
cmp ebx, 5
jne 0x58aa14
mov ecx, dword [ebp + 0xc]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov ecx, dword [esp + 4]
jne 0x58a983
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jmp 0x58aa34
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
xor eax, eax
inc eax
push 0xa
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
test ebx, ebx
jne 0x58b733
jmp 0x58a972
cmp ebx, 5
je 0x58b0eb
test ebx, ebx
mov ecx, dword [esp + 4]
jne 0x58b104
mov byte [ecx + 0x2c], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
lea esi, [esp + 0x6c]
mov edi, ecx
mov edx, esi
call fcn.00585430
mov ebx, eax
cmp dword [esi], 0
je 0x58aa70
mov esi, dword [edi + 4]
mov eax, dword [esi]
xor edx, edx
cmp dword [eax], 3
jl 0x58aa72
mov ecx, dword [eax + 0x48]
xor edi, edi
call dword [section..00cfg]
push edi
push edi
push edi
push esi
call ecx
xor edx, edx
mov ecx, dword [esp + 0x14]
add esp, 0x10
jmp 0x58aa74
mov dl, 1
mov ecx, edi
test ebx, ebx
jne 0x58b720
mov esi, dword [ecx + 0x44]
movzx eax, word [ecx + 0x42]
mov edi, eax
shl edi, 0x10
or edi, eax
and edi, 0x1fe00
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x48], edx
je 0x58aad1
cmp edi, dword [ebp + 0x18]
je 0x58aad1
push 0x718366
push 0x10639
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00576b00
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
add esp, 0x14
mov ebx, 0xb
jmp 0x58b720
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x60]
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x18]
jae 0x58b426
mov dword [esp + 0x44], edi
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x54], eax
xor esi, esi
inc esi
xor ebx, ebx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + esi*4 + 0x64]
cmp dword [esp + 0x18], eax
jbe 0x58abde
mov dword [esp + 8], eax
lea edi, [esi + 3]
cmp byte [ecx + 0x2b], 0
jne 0x58ab87
mov ebx, dword [ecx + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push edi
push ebx
call ecx
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x1c], 0
je 0x58ab76
cmp ebx, 5
jne 0x58ab76
mov ecx, dword [esp + 0x1c]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov ecx, dword [esp + 4]
jne 0x58ab18
mov dword [esp + 0x1c], 0
mov ebx, 5
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
jmp 0x58abde
cmp ebx, 5
je 0x58abca
test ebx, ebx
mov ecx, dword [esp + 4]
jne 0x58b6e6
cmp esi, 1
mov eax, 0xffffffff
cmove eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov dword [edx + esi*4 + 0x64], eax
xor ebx, ebx
cmp byte [ecx + 0x2b], 0
jne 0x58abde
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push edi
push dword [esp + 0x14]
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
jmp 0x58abde
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 4]
inc esi
cmp esi, 5
jne 0x58aaff
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x18]
jae 0x58b421
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x38], eax
mov ebx, dword [ecx + 0x44]
lea edi, [ebx + 0x21]
shr edi, 0xc
lea eax, [edi + edi*4]
shl eax, 2
lea esi, [eax + ebx*2]
add esi, 0x1c
mov ecx, esi
xor edx, edx
call fcn.00576290
test eax, eax
je 0x58b112
lea ecx, [edi + 1]
mov dword [esp + 8], ecx
push esi
xor ecx, ecx
push ecx
push eax
mov esi, eax
call fcn.006719e0
add esp, 0xc
mov dword [esp + 0xc], esi
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov ecx, 0x1000
cmp ebx, ecx
mov dword [esp + 0x64], ebx
cmovb ecx, ebx
add ecx, ecx
xor edx, edx
call fcn.00576290
mov dword [esp + 0x2c], eax
test eax, eax
setne al
mov dword [esp + 8], eax
mov ebx, 7
mov eax, 0
cmovne ebx, eax
je 0x58b120
mov edx, dword [esp + 0x38]
add edx, 0x22
shr edx, 0xc
cmp edx, edi
mov ecx, dword [esp + 4]
ja 0x58b134
mov dword [esp + 0x58], edi
mov dword [esp + 0x74], 0xffffffff
cmp dword [ecx + 0x18], edx
mov dword [esp + 0x38], edx
jle 0x58acc5
mov eax, dword [ecx + 0x20]
mov esi, dword [eax + edx*4]
mov dword [esp + 0x74], esi
xor ebx, ebx
test esi, esi
jne 0x58acec
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x74]
push eax
call fcn.00586190
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
add esp, 4
mov ebx, eax
mov esi, dword [esp + 0x74]
test esi, esi
je 0x58b126
lea eax, [esi + 0x4000]
mov dword [esp + 0x70], eax
test edx, edx
je 0x58ad08
mov dword [esp + 0x14], esi
mov esi, edx
shl esi, 0xc
add esi, 0xffffffde
jmp 0x58ad18
add esi, 0x88
mov dword [esp + 0x14], esi
mov dword [esp + 0x74], esi
xor esi, esi
test ebx, ebx
jne 0x58b12c
sub eax, dword [esp + 0x14]
sar eax, 2
mov edi, dword [esp + 0x64]
sub edi, esi
cmp edx, dword [esp + 0x58]
cmovne edi, eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
lea edx, [eax + esi*2]
add edx, 8
inc esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x78], esi
test edi, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edx
jle 0x58af29
xor eax, eax
mov word [edx + eax*2], ax
inc eax
cmp edi, eax
jne 0x58ad62
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
test edi, edi
jle 0x58af79
xor ecx, ecx
mov eax, dword [esp + 0x5c]
lea edx, [eax + ecx*2]
test cl, 1
jne 0x58add0
xor eax, eax
inc eax
mov ebx, edx
xor esi, esi
jmp 0x58aef7
xor esi, esi
xor edi, edi
inc edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], edx
mov ebx, dword [esp + esi*8 + 0x80]
mov dword [esp + 0x40], esi
mov eax, dword [esp + esi*8 + 0x84]
mov dword [esp + 0x30], eax
test ebx, ebx
setg cl
test edi, edi
setg ch
mov edx, dword [esp + 0x14]
jg 0x58ae13
mov dword [esp + 8], 0
test ebx, ebx
jle 0x58aec6
mov dword [esp + 8], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ebx
test cl, 1
je 0x58ae5b
test ch, 1
je 0x58ae4d
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + eax*2]
mov ecx, dword [edx + ecx*4]
mov ebx, esi
mov esi, dword [esp + 0x24]
movzx edi, word [esi + ebx*2]
mov esi, ebx
cmp ecx, dword [edx + edi*4]
jae 0x58ae5b
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + eax*2]
inc eax
jmp 0x58ae67
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + esi*2]
inc esi
mov dword [esp + 0x34], esi
movzx edi, word [ecx]
mov ecx, dword [edx + edi*4]
mov esi, edx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 8]
mov word [edx + ebx*2], di
mov edx, ebx
mov ebx, dword [esp + 0x28]
cmp eax, ebx
jge 0x58ae9b
mov edx, dword [esp + 0x30]
movzx edi, word [edx + eax*2]
xor edx, edx
cmp dword [esi + edi*4], ecx
sete dl
add eax, edx
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x10]
cmp eax, ebx
setl cl
inc edx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
cmp edx, esi
mov esi, edx
setl ch
mov edx, dword [esp + 0x14]
jl 0x58ae27
cmp eax, ebx
jl 0x58ae27
mov esi, dword [esp + 8]
lea eax, [esi + esi]
push eax
push dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
push ebx
call fcn.00670ee0
mov eax, esi
add esp, 0xc
mov esi, dword [esp + 0x40]
inc esi
mov ecx, dword [esp + 0x50]
bt ecx, esi
mov edx, ebx
mov edi, eax
jb 0x58add9
mov dword [esp + esi*8 + 0x84], ebx
mov dword [esp + esi*8 + 0x80], eax
inc ecx
mov edi, dword [esp + 0x60]
cmp ecx, edi
jne 0x58adb8
mov dword [esp + 8], eax
inc esi
cmp esi, 0xc
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x38]
jbe 0x58af8a
jmp 0x58b0ab
xor ebx, ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], ebx
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
xor esi, esi
inc esi
mov dword [esp + 8], 0
jmp 0x58af86
mov dword [esp + 8], 0
xor esi, esi
inc esi
xor ebx, ebx
mov edx, dword [esp + 0x38]
bt edi, esi
jae 0x58b0a1
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + esi*8 + 0x80]
mov dword [esp + 0x40], esi
mov eax, dword [esp + esi*8 + 0x84]
mov esi, ecx
mov dword [esp + 0x24], eax
test ecx, ecx
setg bl
cmp dword [esp + 8], 0
setg bh
jg 0x58afce
mov dword [esp + 0x34], 0
test esi, esi
jle 0x58b074
mov dword [esp + 0x34], 0
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x28], esi
test bl, 1
je 0x58b012
test bh, 1
je 0x58b004
mov eax, dword [esp + 0x24]
movzx esi, word [eax + edx*2]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + esi*4]
mov edi, dword [esp + 0x30]
movzx edi, word [edi + ecx*2]
cmp esi, dword [eax + edi*4]
jae 0x58b012
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x24]
lea edi, [eax + edx*2]
inc edx
jmp 0x58b01e
mov eax, dword [esp + 0x30]
lea edi, [eax + ecx*2]
inc ecx
mov dword [esp + 0x10], ecx
movzx esi, word [edi]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + esi*4]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov word [ebx + ecx*2], si
mov esi, dword [esp + 0x28]
cmp edx, esi
jge 0x58b052
mov esi, dword [esp + 0x24]
movzx esi, word [esi + edx*2]
xor ebx, ebx
cmp dword [eax + esi*4], edi
mov esi, dword [esp + 0x28]
sete bl
add edx, ebx
mov ecx, dword [esp + 0x10]
cmp edx, esi
setl bl
inc dword [esp + 0x34]
cmp ecx, dword [esp + 8]
setl bh
jl 0x58afde
cmp edx, esi
jl 0x58afde
mov esi, dword [esp + 0x34]
lea eax, [esi + esi]
push eax
push dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.00670ee0
add esp, 0xc
mov dword [esp + 8], esi
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
inc esi
cmp esi, 0xd
jne 0x58af8a
lea eax, [edx + edx*4]
mov esi, edx
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x68]
mov dword [edx + eax*4 + 0x18], edi
mov edi, dword [esp + 8]
mov dword [edx + eax*4 + 0x14], edi
mov edi, dword [esp + 0x5c]
mov dword [edx + eax*4 + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [edx + eax*4 + 0x10], edi
cmp esi, dword [esp + 0x58]
lea edx, [esi + 1]
jb 0x58aca4
mov al, 1
mov dword [esp + 8], eax
xor ebx, ebx
jmp 0x58b134
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 4]
jmp 0x58aa34
mov dl, 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
jmp 0x58aa74
mov ebx, 7
mov ecx, dword [esp + 4]
jmp 0x58b71c
mov ecx, dword [esp + 4]
jmp 0x58b134
cmp ebx, 1
adc ebx, 0
mov dword [esp + 8], 0
cmp dword [esp + 0x2c], 0
je 0x58b1c0
cmp dword [0x72dce0], 0
je 0x58ba0e
mov esi, dword [0x73ee00]
test esi, esi
je 0x58b168
mov ecx, dword [0x72dd30]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [0x72dd0c]
call dword [section..00cfg]
mov esi, dword [esp + 0x2c]
push esi
call ecx
add esp, 4
sub dword [0x73eda8], eax
dec dword [0x73edcc]
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x73ee00]
test esi, esi
mov ecx, dword [esp + 4]
je 0x58b1c0
mov ecx, dword [0x72dd38]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [esp + 8]
add esp, 4
cmp byte [esp + 8], 0
je 0x58b220
cmp byte [ecx + 0x2b], 0
jne 0x58b2b6
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 3
push esi
call ecx
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x1c], 0
je 0x58b2aa
cmp ebx, 5
jne 0x58b2aa
mov ecx, dword [esp + 0x1c]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov ecx, dword [esp + 4]
jne 0x58b1c7
jmp 0x58b426
cmp dword [0x72dce0], 0
je 0x58ba23
mov esi, dword [0x73ee00]
test esi, esi
je 0x58b249
mov ecx, dword [0x72dd30]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [0x72dd0c]
call dword [section..00cfg]
mov esi, dword [esp + 0xc]
push esi
call ecx
add esp, 4
sub dword [0x73eda8], eax
dec dword [0x73edcc]
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x73ee00]
mov dword [esp + 0xc], 0
test esi, esi
je 0x58b2a1
mov ecx, dword [0x72dd38]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 4]
jmp 0x58b421
test ebx, ebx
mov ecx, dword [esp + 4]
jne 0x58b421
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x60]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x80], edx
mov eax, dword [ebp + 0x14]
shr eax, 2
and eax, 3
mov dword [esp + 0x40], eax
je 0x58b2fc
mov esi, dword [ecx + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push dword [esp + 0x40]
push esi
call ecx
mov ecx, dword [esp + 0xc]
add esp, 8
mov ebx, eax
test eax, eax
jne 0x58b36a
mov eax, dword [esp + 0x54]
mul dword [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x80], eax
xor eax, eax
dec eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov esi, dword [edx + 4]
mov eax, dword [esi]
test eax, eax
je 0x58b346
mov ecx, dword [eax + 0x28]
mov edi, edx
call dword [section..00cfg]
push 0
push 0x27
push esi
call ecx
add esp, 0xc
mov esi, dword [edi + 4]
mov eax, dword [esi]
jmp 0x58b348
xor eax, eax
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
lea eax, [esp + 0x70]
push eax
push esi
call ecx
add esp, 8
mov ebx, eax
test eax, eax
je 0x58b7c7
mov ecx, dword [esp + 4]
mov esi, dword [ecx + 4]
mov eax, dword [esi]
test eax, eax
je 0x58b38a
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push 0
push 0x25
push esi
call ecx
mov ecx, dword [esp + 0x10]
add esp, 0xc
test ebx, ebx
jne 0x58b3fd
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jne 0x58b3f0
mov eax, dword [esp + 0x44]
mul dword [ecx + 0x48]
mov esi, eax
mov ebx, edx
mov edi, dword [ecx + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push ebx
push esi
push edi
call ecx
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x40], 0
je 0x58b3e8
test ebx, ebx
jne 0x58b3e8
mov eax, dword [esp + 4]
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push dword [esp + 0x40]
push esi
call ecx
add esp, 8
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 4]
jne 0x58b3fd
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x60], edx
xor ebx, ebx
cmp byte [ecx + 0x2b], 0
jne 0x58b421
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 3
push esi
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
cmp ebx, 5
jne 0x58b428
xor ebx, ebx
cmp dword [esp + 0x20], 0
je 0x58b662
test ebx, ebx
jne 0x58b662
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x60]
mov ebx, 5
cmp eax, dword [ecx + 0x44]
jb 0x58b662
xor ebx, ebx
cmp dword [esp + 0x20], 2
jl 0x58b662
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
push eax
push 4
call fcn.00576bf0
add esp, 8
mov esi, 4
mov ecx, dword [esp + 4]
cmp byte [ecx + 0x2b], 0
jne 0x58b4da
mov edi, dword [ecx + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push esi
push esi
push edi
call ecx
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x1c], 0
je 0x58b4ce
cmp ebx, 5
jne 0x58b4ce
mov ecx, dword [esp + 0x1c]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
jne 0x58b47a
mov ebx, 5
mov ecx, dword [esp + 4]
jmp 0x58b662
test ebx, ebx
mov ecx, dword [esp + 4]
jne 0x58b662
xor ebx, ebx
cmp dword [esp + 0x20], 3
jne 0x58b63b
mov edi, dword [esp + 0x80]
mov dword [esp + 8], edi
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x38]
mov esi, dword [edx]
mov eax, dword [esp + 4]
inc dword [eax + 0x70]
mov eax, dword [esp + 4]
mov dword [eax + 0x44], 0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x54]
bswap ecx
inc ecx
bswap ecx
mov eax, dword [esp + 4]
mov dword [eax + 0x54], ecx
mov eax, dword [esp + 4]
mov dword [eax + 0x58], edi
mov edi, dword [edx]
mov eax, dword [esp + 4]
mov byte [eax + 0x40], 1
mov edx, 0x2de218
mov eax, dword [esp + 4]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x40]
add edx, ebx
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
add ebx, eax
add ebx, 0x5bc430
add edx, ebx
mov eax, 0x2de218
add edx, eax
add ebx, edx
mov eax, dword [esp + 4]
add edx, dword [eax + 0x48]
add edx, ebx
mov eax, dword [esp + 4]
add ebx, dword [eax + 0x4c]
add ebx, edx
mov eax, dword [esp + 4]
add edx, dword [eax + 0x50]
add edx, ebx
add ebx, ecx
add ebx, edx
add edx, dword [esp + 8]
add edx, ebx
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], ebx
mov eax, dword [esp + 4]
mov dword [eax + 0x60], edx
mov eax, dword [esp + 4]
lea ebx, [eax + 0x34]
movups xmm0, xmmword [eax + 0x44]
movups xmmword [edi + 0x40], xmm0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [eax + 0x54]
movups xmmword [edi + 0x50], xmm0
cmp byte [eax + 0x2b], 2
je 0x58b5de
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push dword [esp + 8]
call ecx
mov eax, dword [esp + 8]
add esp, 4
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi], xmm0
mov dword [esi + 0x60], 0
xor edi, edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov esi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push edi
push esi
call ecx
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov ebx, eax
cmp byte [ecx + 0x2b], 0
jne 0x58b662
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
mov eax, 4
push 9
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
cmp dword [esp + 0xc], 0
je 0x58b6e6
cmp dword [0x72dce0], 0
je 0x58b9f9
mov esi, dword [0x73ee00]
test esi, esi
je 0x58b692
mov ecx, dword [0x72dd30]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [0x72dd0c]
call dword [section..00cfg]
mov esi, dword [esp + 0xc]
push esi
call ecx
add esp, 4
sub dword [0x73eda8], eax
dec dword [0x73edcc]
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x73ee00]
test esi, esi
je 0x58b6e2
mov ecx, dword [0x72dd38]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 4]
cmp ebx, 5
mov edx, dword [esp + 0x48]
je 0x58b6f3
test ebx, ebx
jne 0x58b720
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x58b70e
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x44]
mov dword [esi], edx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 4]
test eax, eax
je 0x58b720
mov edx, dword [ecx + 0x20]
mov edx, dword [edx]
mov edx, dword [edx + 0x60]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
test dl, dl
jne 0x58b733
xorps xmm0, xmm0
movups xmmword [ecx + 0x54], xmm0
movups xmmword [ecx + 0x44], xmm0
movups xmmword [ecx + 0x34], xmm0
cmp byte [ecx + 0x2c], 0
je 0x58b76c
cmp byte [ecx + 0x2b], 0
jne 0x58b75d
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 0
push esi
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
xor eax, eax
mov byte [ecx + 0x2c], al
mov dword [ecx + 0x68], 0
mov byte [ecx + 0x2f], al
cmp byte [ecx + 0x2d], 0
je 0x58b79b
cmp byte [ecx + 0x2b], 0
jne 0x58b797
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
xor eax, eax
inc eax
push 9
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x14]
add esp, 0x10
mov byte [ecx + 0x2d], 0
test ebx, ebx
mov esi, 5
cmovne esi, ebx
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 8]
cmove esi, ebx
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.0066e1f1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
cmp esi, ebx
mov eax, ecx
sbb eax, edi
jge 0x58b851
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
mul dword [edx + 0x44]
add esi, eax
adc ecx, edx
add esi, 0x10000
adc ecx, 0
cmp esi, ebx
sbb ecx, edi
jge 0x58b82b
push 0x718366
push 0xff2c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00576b00
add esp, 0x14
mov ebx, 0xb
jmp 0x58b366
mov eax, dword [esp + 4]
mov esi, dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x58b851
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
lea eax, [esp + 0x80]
push eax
push 5
push esi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x44]
or eax, 0x18
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
jle 0x58b9ce
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
dec edx
lea eax, [edx + edx*4]
mov edi, dword [ecx + eax*4 + 8]
mov esi, dword [ecx + eax*4 + 0x14]
cmp edi, esi
jge 0x58b8fa
mov dword [esp + 0x14], edx
lea edx, [ecx + eax*4]
add edx, 8
mov dword [esp + 8], edx
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [esp + 0x2c], eax
mov ebx, dword [ecx + eax*4 + 0x10]
movzx eax, word [edx + edi*2]
mov ecx, dword [ebx + eax*4]
cmp ecx, dword [esp + 0x34]
ja 0x58b8d4
inc edi
mov eax, dword [esp + 8]
mov dword [eax], edi
cmp edi, esi
jl 0x58b8b2
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
jmp 0x58b8fa
cmp ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
jae 0x58b8fa
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
add eax, dword [edx + esi*4 + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x30], 1
mov ecx, dword [esp + 0xc]
jg 0x58b884
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x58b9d4
mov eax, dword [ebx + 0x120]
test eax, eax
jne 0x58b9db
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x24]
jbe 0x58b868
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x18]
ja 0x58b868
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
ja 0x58b868
mov eax, dword [esp + 0x28]
dec eax
mul dword [esp + 0x50]
mov ebx, edx
mov esi, eax
add esi, 0x38
adc ebx, 0
mov edi, dword [esp + 4]
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
push esi
mov esi, dword [esp + 0x4c]
push esi
mov eax, dword [ebp + 0x1c]
push eax
push dword [esp + 0x18]
call ecx
add esp, 0x14
test eax, eax
jne 0x58b9f0
mov eax, dword [esp + 0x10]
dec eax
mul esi
mov dword [esp + 8], eax
mov ebx, edx
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push ebx
push dword [esp + 0xc]
push esi
push dword [ebp + 0x1c]
push edi
call ecx
add esp, 0x14
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x58b868
mov ebx, eax
jmp 0x58b366
mov dword [ecx], 0xffffffff
xor ebx, ebx
jmp 0x58b366
xor eax, eax
cmp byte [ebx + 0x57], 0
sete al
lea ebx, [eax*2 + 7]
jmp 0x58b366
mov ebx, eax
mov ecx, edi
jmp 0x58b36a
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push dword [esp + 0xc]
jmp 0x58b6dd
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push dword [esp + 0x2c]
jmp 0x58b1b7
mov ecx, dword [0x72dd04]
call dword [section..00cfg]
push dword [esp + 0xc]
call ecx
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x58b2a1