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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0x110], eax
test ecx, ecx
jne 0x51e53e
pop esi
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret
movzx edx, word [ebx + 0x18]
movzx ecx, byte [ebx + 0xc]
push edi
lea edi, [ecx + edx]
cmp edi, 2
jae 0x51e557
mov dword [ebp - 0x11c], esi
jmp 0x51e58b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x51e566
mov dword [ebp - 0x11c], esi
jmp 0x51e581
cmp eax, edi
jne 0x51e57a
mov eax, dword [ebp + 0x18]
add edi, 0xfffffffe
add edi, eax
mov dword [ebp - 0x11c], edi
jmp 0x51e584
dec eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x18]
mov edi, 2
sub edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x51e5b2
movzx ecx, byte [ebx + 9]
add ecx, 8
jmp 0x51e5c6
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
mov dword [ebp - 0x128], ecx
mov eax, dword [ecx]
bswap eax
mov dword [ebp - 0x10c], eax
mov ebx, eax
mov dword [ebp - 0x13c], eax
test esi, esi
jne 0x51e6c0
mov eax, dword [ebp - 0x110]
cmp ebx, dword [eax + 0x30]
jbe 0x51e61c
push 0x674cf4
push 0x1084a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov esi, 0xb
jmp 0x51e6b4
mov esi, dword [eax]
lea eax, [ebp - 0xf0]
push 0
push eax
push ebx
push esi
mov esi, dword [esi + 0xcc]
mov ecx, esi
call dword [0x659730]
call esi
mov esi, eax
add esp, 0x10
mov dword [ebp - 0xe8], esi
test esi, esi
jne 0x51e6ba
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 8]
mov dword [ebp + edi*4 - 0x24], eax
cmp byte [eax], 0
jne 0x51e6b2
mov ecx, dword [edx + 8]
cmp ebx, dword [ecx + 4]
je 0x51e688
mov eax, dword [edx + 4]
cmp ebx, 1
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], ebx
mov byte [ecx + 9], al
mov eax, dword [ebp + edi*4 - 0x24]
push eax
call fcn.00520ef0
mov esi, eax
add esp, 4
mov dword [ebp - 0xe8], esi
test esi, esi
je 0x51e6b2
mov eax, dword [ebp + edi*4 - 0x24]
test eax, eax
je 0x51e6ba
push dword [eax + 0x48]
call fcn.00565290
add esp, 4
jmp 0x51e6ba
xor esi, esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
lea eax, [edi*4]
test esi, esi
jne 0x51fbc1
mov eax, dword [ebp + eax - 0x24]
cmp dword [eax + 0x14], esi
jge 0x51e6f7
push eax
call fcn.00520500
mov esi, eax
add esp, 4
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
test esi, esi
jne 0x51e859
mov ecx, edi
dec edi
test ecx, ecx
je 0x51e865
mov esi, dword [ebp - 0x118]
mov dl, byte [esi + 0xc]
test dl, dl
je 0x51e764
mov eax, dword [ebp - 0x11c]
movzx ecx, word [esi + 0x1c]
add eax, edi
cmp eax, ecx
jne 0x51e764
mov eax, dword [esi + 0x24]
push eax
push esi
mov esi, dword [esi + 0x4c]
mov ecx, esi
mov ebx, dword [eax]
bswap ebx
mov dword [ebp + edi*4 - 0x10], eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x13c], ebx
call dword [0x659730]
call esi
mov ecx, dword [ebp - 0x118]
add esp, 8
mov esi, dword [ebp - 0xe8]
movzx eax, ax
mov dword [ebp + edi*4 - 0x4c], eax
mov byte [ecx + 0xc], 0
jmp 0x51e5e1
mov ecx, dword [ebp - 0x11c]
movzx eax, dl
sub ecx, eax
mov eax, dword [esi + 0x40]
add ecx, edi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [esi + 0x38]
add eax, ecx
push eax
push esi
mov esi, dword [esi + 0x4c]
mov ecx, dword [eax]
bswap ecx
mov dword [ebp - 0x10c], ecx
mov ebx, ecx
mov dword [ebp - 0x13c], ecx
mov ecx, esi
mov dword [ebp - 0x100], eax
mov dword [ebp + edi*4 - 0x10], eax
call dword [0x659730]
call esi
movzx edx, ax
add esp, 8
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], edx
mov dword [ebp + edi*4 - 0x4c], edx
test byte [eax + 0x18], 0xc
je 0x51e822
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x100]
mov esi, dword [ebp - 0x110]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x28]
mov esi, dword [ebp - 0x100]
jg 0x51e822
mov eax, dword [ebp - 0x14c]
push edx
add eax, ecx
push esi
push eax
call fcn.0060a360
mov ecx, dword [ebp - 0x118]
add esp, 0xc
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x124]
sub eax, dword [ecx + 0x38]
add eax, esi
mov dword [ebp + edi*4 - 0x10], eax
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0xf8]
push eax
push edx
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0xc]
sub ecx, eax
add ecx, edi
push ecx
push edx
call fcn.005290d0
mov esi, dword [ebp - 0xf8]
add esp, 0x10
mov dword [ebp - 0xe8], esi
jmp 0x51e5e1
lea eax, [edi*4]
jmp 0x51fbc4
mov eax, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x114]
mov esi, dword [eax + 0x24]
mov eax, 0xaaaaaaab
lea ecx, [esi - 8]
mul ecx
mov edi, edx
shr edi, 2
add edi, 4
imul edi, ebx
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [esi + eax*2]
cdq
push edx
push eax
call fcn.00562690
add esp, 8
mov dword [ebp - 0xdc], eax
test eax, eax
jne 0x51e8b9
mov dword [ebp - 0xe8], 7
jmp 0x51fbd3
mov ecx, dword [ebp - 0x24]
lea eax, [eax + edi*4]
mov dword [ebp - 0xd8], eax
lea eax, [eax + edi*2]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe0], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x130], eax
mov al, byte [ecx + 3]
mov byte [ebp - 0xe9], al
movzx eax, al
mov dword [ebp - 0x12c], eax
xor eax, eax
mov dword [ebp - 0x104], eax
test ebx, ebx
jle 0x51eb76
nop word [eax + eax]
shl eax, 2
mov dword [ebp - 0x124], eax
mov edi, dword [ebp + eax - 0x24]
mov dword [ebp - 0xf4], edi
movzx eax, word [edi + 0x1a]
mov ebx, dword [edi + 0x38]
mov ecx, eax
movzx esi, word [edi + 0x12]
movzx edx, word [edi + 0x18]
add esi, ebx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x108], ebx
mov ecx, dword [eax + 0x38]
mov al, byte [ebx]
mov dword [ebp - 0x100], esi
cmp al, byte [ecx]
jne 0x51ede7
movzx eax, byte [edi + 0xc]
mov ecx, dword [ebp - 0xd8]
add eax, edx
add eax, eax
push eax
mov eax, dword [ebp - 0xe4]
push 0
lea eax, [ecx + eax*2]
push eax
call fcn.0060a8e0
mov al, byte [edi + 0xc]
add esp, 0xc
test al, al
je 0x51ea34
movzx edx, word [edi + 0x1c]
cmp dword [ebp - 0x140], edx
jb 0x51edba
test edx, edx
je 0x51e9f4
mov edi, dword [ebp - 0x144]
nop dword [eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx ecx, cx
and ecx, eax
mov eax, dword [ebp - 0xe4]
add ecx, ebx
mov ebx, dword [ebp - 0xdc]
mov dword [ebx + eax*4], ecx
inc eax
mov ebx, dword [ebp - 0x108]
mov dword [ebp - 0xe4], eax
sub edx, 1
jne 0x51e9b0
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x100], esi
mov al, byte [edi + 0xc]
xor edx, edx
test al, al
je 0x51ea34
mov ebx, dword [ebp - 0xe4]
lea ecx, [edi + 0x24]
mov esi, dword [ebp - 0xdc]
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
cmp edx, eax
jl 0x51ea10
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0xe4], ebx
mov ebx, dword [ebp - 0x108]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add eax, ebx
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x51ea84
mov edi, dword [ebp - 0xe4]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
mov eax, dword [ebp - 0x134]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [ebp - 0xdc]
add ecx, ebx
mov dword [eax + edi*4], ecx
inc edi
cmp esi, edx
jb 0x51ea50
mov dword [ebp - 0xe4], edi
mov edi, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0xe4]
mov dword [ebp + ecx - 0x8c], edx
cmp eax, dword [ebp - 0x138]
jge 0x51eb63
cmp byte [ebp - 0xe9], 0
jne 0x51eb63
movzx eax, word [ebp + ecx - 0x4c]
mov ecx, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0xf0]
push eax
add esi, ebx
mov word [ecx + edx*2], ax
add ebx, eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], ebx
push dword [ebp + eax - 0x10]
push esi
call fcn.0060a360
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd8]
movzx eax, ax
add eax, esi
mov esi, dword [ebp - 0xdc]
mov dword [esi + edx*4], eax
mov eax, dword [ebp - 0x130]
sub word [ecx + edx*2], ax
cmp byte [edi + 8], 0
jne 0x51eb2c
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x51eb56
cmp word [ecx + edx*2], 4
jae 0x51eb56
mov eax, dword [ebp - 0xf0]
nop dword [eax]
mov byte [eax + ebx], 0
inc ebx
inc word [ecx + edx*2]
cmp word [ecx + edx*2], 4
jb 0x51eb40
mov dword [ebp - 0x120], ebx
mov eax, dword [ebp - 0x104]
inc edx
mov dword [ebp - 0xe4], edx
inc eax
mov dword [ebp - 0x104], eax
cmp eax, dword [ebp - 0x114]
jl 0x51e910
mov eax, dword [ebp - 0x130]
xor ecx, ecx
movzx ebx, ax
xor esi, esi
mov eax, dword [ebp - 0x110]
add ebx, 0xfffffff4
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], esi
mov eax, dword [eax + 0x28]
add ebx, eax
mov dword [ebp - 0x120], ebx
cmp dword [ebp - 0x114], ecx
jle 0x51ecbd
nop
mov edi, dword [ebp + esi*4 - 0x24]
mov edx, dword [ebp + esi*4 - 0x8c]
mov dword [ebp - 0x134], edx
mov eax, dword [edi + 0x3c]
mov dword [ebp + ecx*4 - 0xd4], eax
mov dword [ebp + ecx*4 - 0xbc], edx
test ecx, ecx
je 0x51ebe6
cmp edx, dword [ebp + ecx*4 - 0xc0]
jne 0x51ebe6
dec ecx
mov dword [ebp - 0x104], ecx
cmp byte [ebp - 0xe9], 0
jne 0x51ec10
mov eax, dword [ebp - 0x118]
inc ecx
mov dword [ebp - 0x104], ecx
mov eax, dword [eax + 0x3c]
mov dword [ebp + ecx*4 - 0xd4], eax
lea eax, [edx + 1]
mov dword [ebp + ecx*4 - 0xbc], eax
sub ebx, dword [edi + 0x14]
lea eax, [ebp - 0x4c]
cmp byte [edi + 0xc], 0
lea eax, [eax + esi*4]
mov dword [ebp - 0x138], eax
mov dword [eax], ebx
mov dword [ebp - 0xf0], 0
jbe 0x51ec99
lea ecx, [edi + 0x24]
mov dword [ebp - 0x124], ecx
nop word [eax + eax]
push dword [ecx]
mov esi, dword [edi + 0x4c]
mov ecx, esi
push edi
call dword [0x659730]
call esi
mov edx, dword [ebp - 0xf0]
add esp, 8
mov ecx, dword [ebp - 0x124]
inc edx
movzx eax, ax
add ecx, 4
add eax, 2
mov dword [ebp - 0xf0], edx
add ebx, eax
mov dword [ebp - 0x124], ecx
movzx eax, byte [edi + 0xc]
cmp edx, eax
jl 0x51ec40
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x100]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x120]
inc ecx
mov dword [ebp + esi*4 - 0x60], edx
inc esi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x104], ecx
cmp esi, dword [ebp - 0x114]
jl 0x51ebb0
mov ecx, dword [ebp - 0x114]
mov eax, ecx
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x108], 0
test ecx, ecx
jle 0x51ef19
mov edx, dword [ebp - 0xe4]
mov ebx, 1
xor ecx, ecx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0x104], ecx
nop word [eax + eax]
mov edi, dword [ebp + ecx - 0x4c]
cmp edi, dword [ebp - 0x120]
jle 0x51ee3c
cmp ebx, eax
jl 0x51ed36
lea eax, [ebx + 1]
mov dword [ebp - 0xf4], eax
cmp eax, 5
jg 0x51f0a4
mov dword [ebp + ecx - 0x48], 0
mov edi, dword [ebp + ecx - 0x4c]
mov dword [ebp + ecx - 0x5c], edx
mov esi, dword [ebp + ecx - 0x60]
mov edx, dword [ebp - 0xd8]
lea ebx, [esi - 1]
movzx eax, word [edx + ebx*2]
test ax, ax
jne 0x51ed6b
lea eax, [ebp - 0xe4]
push ebx
push eax
call fcn.00525ce0
mov ecx, dword [ebp - 0x104]
add esp, 8
mov edx, dword [ebp - 0xd8]
movzx eax, ax
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [ebp - 0xe9], 0
mov dword [ebp + ecx - 0x4c], edi
jne 0x51ee16
cmp esi, dword [ebp - 0xe4]
jge 0x51ee14
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x51edac
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00525ce0
add esp, 8
movzx eax, ax
mov ecx, dword [ebp - 0x104]
movzx eax, ax
add eax, 2
jmp 0x51ee16
push 0x674cf4
push 0x11e21
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
push 0x674cf4
push 0x11e09
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
xor eax, eax
add dword [ebp + ecx - 0x48], eax
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xf4]
mov dword [ebp + ecx - 0x60], ebx
mov ebx, dword [ebp - 0xf0]
cmp edi, dword [ebp - 0x120]
jg 0x51ed10
mov esi, dword [ebp + ecx - 0x60]
cmp esi, edx
jge 0x51eeec
nop dword [eax + eax]
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x51ee7e
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00525ce0
mov ecx, dword [ebp - 0x104]
add esp, 8
mov edx, dword [ebp - 0xe4]
movzx eax, ax
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, dword [ebp - 0x120]
jg 0x51f07c
inc esi
mov dword [ebp + ecx - 0x4c], edi
cmp byte [ebp - 0xe9], 0
mov dword [ebp + ecx - 0x60], esi
jne 0x51eee0
cmp esi, edx
jge 0x51eede
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x51eed0
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00525ce0
mov edx, dword [ebp - 0xe4]
add esp, 8
movzx eax, ax
mov ecx, dword [ebp - 0x104]
movzx eax, ax
add eax, 2
jmp 0x51eee0
xor eax, eax
sub dword [ebp + ecx - 0x48], eax
cmp esi, edx
jl 0x51ee50
mov eax, ebx
mov dword [ebp - 0xf4], eax
mov esi, dword [ebp - 0x108]
add ecx, 4
inc esi
mov dword [ebp - 0x104], ecx
inc ebx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0xf0], ebx
cmp esi, eax
jl 0x51ed00
dec eax
mov ecx, eax
mov dword [ebp - 0x100], eax
test ecx, ecx
jle 0x51f147
nop word [eax + eax]
shl ecx, 2
lea eax, [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x140], eax
mov edi, dword [eax]
lea eax, [ebp + ecx - 0x50]
mov dword [ebp - 0x124], eax
mov eax, dword [eax]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x60]
sub eax, 4
mov dword [ebp - 0xf0], eax
mov ebx, dword [eax + ecx]
mov ecx, dword [ebp - 0xd8]
lea esi, [ebx - 1]
mov eax, esi
sub eax, dword [ebp - 0x12c]
inc eax
cmp word [ecx + eax*2], 0
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x108], ecx
jne 0x51efa0
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00525ce0
add esp, 8
nop dword [eax]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x134], esi
cmp word [eax + esi*2], 0
jne 0x51efc9
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00525ce0
add esp, 8
test edi, edi
je 0x51f01d
cmp dword [ebp + 0x18], 0
mov edx, ebx
jne 0x51f0fe
mov ecx, dword [ebp - 0xf4]
mov eax, 2
dec ecx
cmp dword [ebp - 0x100], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [ebp - 0x104]
sub ecx, eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [ebp - 0x108]
movzx eax, word [eax]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x51f0fe
mov edx, dword [ebp - 0x108]
mov ecx, 0xfffffffe
mov ebx, dword [ebp - 0xf0]
movzx eax, word [edx]
sub edx, 2
add eax, 2
mov dword [ebp - 0x108], edx
mov edx, dword [ebp - 0x144]
add edi, eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [ebp - 0x104]
add eax, ecx
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x104], eax
mov dword [ebx + ecx], esi
sub esi, 1
mov ebx, dword [ebp - 0x134]
jns 0x51efa0
jmp 0x51f104
cmp esi, edx
jge 0x51eeec
cmp dword [ebp - 0x108], 0
jle 0x51f093
mov eax, dword [ebp + ecx - 0x64]
jmp 0x51f095
xor eax, eax
cmp esi, eax
jle 0x51f0d1
mov eax, dword [ebp - 0xf4]
jmp 0x51eef4
push 0x674cf4
push 0x11e86
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
push 0x674cf4
push 0x11ea7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x140]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x100]
cmp ecx, 1
jbe 0x51f132
mov ebx, dword [ebp - 0xf0]
lea eax, [ecx*4]
mov eax, dword [eax + ebx - 4]
jmp 0x51f134
xor eax, eax
cmp edx, eax
jle 0x51f1b4
dec ecx
mov dword [ebp - 0x100], ecx
test ecx, ecx
jg 0x51ef30
mov eax, dword [ebp - 0x24]
xor esi, esi
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
lea eax, [esi + 1]
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0xf4], esi
jle 0x51f348
nop word [eax + eax]
cmp esi, dword [ebp - 0x114]
jge 0x51f255
mov edi, dword [ebp + esi*4 - 0x24]
mov dword [ebp + esi*4 - 0x38], edi
mov dword [ebp + esi*4 - 0x24], 0
mov dword [ebp - 0xf0], edi
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x51f1e5
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x51f1e5
cmp dword [edx + 0x60], 0
je 0x51f1e1
push ecx
call fcn.0058e0b0
jmp 0x51f211
push 0x674cf4
push 0x11ed1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
xor edx, edx
jmp 0x51f216
mov eax, dword [edx + 0x28]
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x51f1f6
mov edx, eax
jmp 0x51f21c
mov eax, dword [edx + 0x94]
push ecx
cmp eax, dword [edx + 0x98]
jbe 0x51f20c
call fcn.0053a7c0
jmp 0x51f211
call fcn.0053bac0
add esp, 4
mov edx, eax
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
sub eax, dword [ebp - 0x11c]
inc dword [ebp - 0xfc]
cmp esi, eax
mov eax, dword [edi + 0x48]
sete cl
mov dword [ebp - 0xf8], edx
inc ecx
movsx eax, word [eax + 0x1e]
cmp eax, ecx
jne 0x51f31b
test edx, edx
jne 0x51fb24
jmp 0x51f308
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x10c]
push 0
cmovne ecx, eax
lea eax, [ebp - 0x13c]
push ecx
push eax
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x110]
call fcn.0051b850
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf8], edx
test edx, edx
jne 0x51fb24
mov edi, dword [ebp - 0xf0]
push ebx
push edi
call fcn.005a47c0
mov ecx, dword [ebp - 0x110]
add esp, 8
inc dword [ebp - 0xfc]
mov eax, dword [ebp - 0xe4]
mov dword [ebp + esi*4 - 0x38], edi
cmp byte [ecx + 0x11], 0
mov dword [ebp + esi*4 - 0x8c], eax
je 0x51f2fc
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x118]
push dword [eax + 4]
push 5
push dword [edi + 4]
push ecx
call fcn.0053e050
mov eax, dword [ebp - 0xf8]
add esp, 0x14
mov dword [ebp - 0xe8], eax
test eax, eax
jne 0x51fb24
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x10c], eax
inc esi
cmp esi, dword [ebp - 0xf4]
jge 0x51f348
mov eax, 1
jmp 0x51f170
push 0x674cf4
push 0x11ef0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
mov edi, dword [ebp - 0xfc]
xor ecx, ecx
test edi, edi
jle 0x51f452
nop dword [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x38]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [ebp + ecx*4 - 0xa0], edx
mov dword [ebp + ecx*4 - 0x74], edx
mov ax, word [eax + 0x1c]
mov word [ebp + ecx*2 - 0x10], ax
xor eax, eax
test ecx, ecx
jle 0x51f3a2
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp + eax*4 - 0xa0], edx
je 0x51f513
inc eax
cmp eax, ecx
jl 0x51f390
inc ecx
cmp ecx, edi
jl 0x51f360
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
nop
xor esi, esi
lea ecx, [esi + 1]
cmp edi, ecx
jle 0x51f3e1
mov ebx, dword [ebp - 0xfc]
xor edi, edi
lea edx, [ecx*4]
mov eax, dword [ebp + edx - 0x74]
cmp eax, dword [ebp + edi - 0x74]
jae 0x51f3d6
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebx
jl 0x51f3c1
mov ebx, dword [ebp - 0xf0]
mov edi, dword [ebp + esi*4 - 0x74]
mov dword [ebp + esi*4 - 0x74], 0xffffffff
cmp esi, ebx
je 0x51f437
jle 0x51f416
mov eax, dword [ebp - 0x110]
xor edx, edx
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + esi*4 - 0x38]
inc ecx
add ecx, esi
push ecx
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], dx
call fcn.00566000
add esp, 8
mov eax, dword [ebp + ebx*4 - 0x38]
push edi
mov ecx, dword [eax + 0x48]
mov ax, word [ebp + esi*2 - 0x10]
push ecx
mov word [ecx + 0x1c], ax
call fcn.00566000
mov eax, dword [ebp + ebx*4 - 0x38]
add esp, 8
mov dword [eax + 4], edi
mov edi, dword [ebp - 0xfc]
inc ebx
mov dword [ebp - 0xf0], ebx
cmp ebx, edi
jl 0x51f3b0
mov ebx, dword [ebp - 0x12c]
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [ebp - 0x128]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
test bl, 8
jne 0x51f48f
mov ecx, dword [ebp - 0x114]
cmp ecx, edi
je 0x51f48f
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x38]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x110]
cmp byte [eax + 0x11], 0
je 0x51f6f3
mov edi, dword [ebp - 0x38]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x108], esi
movzx edx, word [edi + 0x18]
movzx eax, byte [edi + 0xc]
add edx, eax
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0xe4], ebx
jle 0x51f6f6
mov eax, edi
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x100], ecx
cmp esi, edx
jne 0x51f56c
xor eax, eax
cmp byte [ebp - 0xe9], al
sete al
mov dword [ebp - 0x12c], eax
inc ebx
cmp ebx, dword [ebp - 0xfc]
jge 0x51f540
mov edi, dword [ebp + ebx*4 - 0x38]
jmp 0x51f544
push 0x674cf4
push 0x11f1e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
mov edi, dword [ebp + ebx*4 - 0x24]
movzx eax, word [edi + 0x18]
add eax, dword [ebp - 0x12c]
movzx ecx, byte [edi + 0xc]
add ecx, eax
add edx, ecx
cmp esi, edx
je 0x51f504
mov ecx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp - 0xf0]
cmp esi, dword [ebp + edx - 0x60]
mov edx, dword [ebp - 0x10c]
jne 0x51f5ab
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
shl eax, 2
cmp byte [ebp - 0xe9], 0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0xf4], eax
je 0x51f6e0
cmp ebx, dword [ebp - 0xfc]
jge 0x51f5d3
mov eax, dword [eax + 4]
cmp eax, dword [ebp + ebx*4 - 0xa0]
mov eax, dword [ebp - 0xf4]
jne 0x51f5d3
cmp ecx, dword [edi + 0x38]
jb 0x51f5d3
cmp ecx, dword [edi + 0x3c]
jb 0x51f6e0
cmp word [ebp - 0x130], 0
jne 0x51f608
lea edx, [ebp - 0xf8]
push edx
push dword [eax + 4]
mov eax, dword [ecx]
push 5
bswap eax
push eax
push dword [ebp - 0x110]
call fcn.0053e050
mov eax, dword [ebp - 0xf8]
add esp, 0x14
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x51f62a
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00525ce0
add esp, 8
movzx eax, ax
mov ecx, dword [ebp - 0xf4]
cmp ax, word [ecx + 0x10]
jbe 0x51f6be
cmp dword [ebp - 0xe8], 0
jne 0x51fb24
mov esi, dword [ecx + 0x50]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x100]
push ecx
mov ecx, esi
call dword [0x659730]
call esi
movzx eax, word [ebp - 0x68]
add esp, 0xc
cmp eax, dword [ebp - 0x6c]
jae 0x51f6ce
mov edx, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x100]
cmp edx, ecx
jb 0x51f682
add eax, ecx
cmp edx, eax
jb 0x51f782
mov edx, dword [ebp - 0xf4]
lea eax, [ebp - 0xf8]
push eax
movzx eax, word [ebp - 0x66]
push dword [edx + 4]
mov eax, dword [eax + ecx - 4]
push 3
bswap eax
push eax
push dword [edx + 0x34]
call fcn.0053e050
mov edx, dword [ebp - 0xf8]
add esp, 0x14
mov esi, dword [ebp - 0x108]
mov dword [ebp - 0xe8], edx
jmp 0x51f6c4
mov edx, dword [ebp - 0xe8]
test edx, edx
jne 0x51fb24
jmp 0x51f6d4
mov esi, dword [ebp - 0x108]
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x10c]
inc esi
mov dword [ebp - 0x108], esi
cmp esi, dword [ebp - 0xe4]
jl 0x51f4e0
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0xfc]
xor ebx, ebx
dec eax
test eax, eax
jle 0x51f8fb
nop word [eax + eax]
mov eax, dword [ebp + ebx*4 - 0x38]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0x148]
add esi, dword [ebp - 0x14c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + ebx*4 - 0x60]
mov edi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x100], esi
mov esi, dword [ebp - 0x10c]
movzx eax, word [edx + eax*2]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x130]
movzx edx, cx
mov ecx, dword [ebp - 0x12c]
add edx, eax
cmp byte [esi + 8], 0
mov esi, dword [ebp - 0x100]
jne 0x51f7af
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x51f875
push 0x674cf4
push 0x10533
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
cmp byte [ebp - 0xe9], 0
je 0x51f84c
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x10c]
push dword [ecx - 4]
push eax
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x659730]
call esi
mov esi, dword [ebp - 0x100]
add esp, 0xc
mov edx, dword [ebp - 0xa0]
mov edi, esi
mov ecx, dword [ebp - 0xa4]
add esi, 4
test edx, edx
ja 0x51f83a
jb 0x51f7ff
cmp ecx, 0x7f
ja 0x51f810
mov eax, 1
and cl, 0x7f
mov byte [esi], cl
xor esi, esi
lea edx, [eax + 4]
jmp 0x51f875
test edx, edx
ja 0x51f83a
jb 0x51f81e
cmp ecx, 0x3fff
ja 0x51f83a
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [esi + 1], cl
or al, 0x80
mov byte [esi], al
mov eax, 2
xor esi, esi
lea edx, [eax + 4]
jmp 0x51f875
push edx
push ecx
push esi
call fcn.0053e7c0
add esp, 0xc
xor esi, esi
lea edx, [eax + 4]
jmp 0x51f875
sub edi, 4
cmp eax, 4
jne 0x51f875
mov eax, dword [ebp - 0x118]
push edi
push eax
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x659730]
call esi
mov esi, dword [ebp - 0x100]
add esp, 8
movzx edx, ax
add dword [ebp - 0x148], edx
xor eax, eax
cmp dword [ebp - 0xbc], ebx
jg 0x51f894
cmp eax, 6
jge 0x51f894
inc eax
cmp dword [ebp + eax*4 - 0xbc], ebx
jle 0x51f885
mov ecx, dword [ebp + eax*4 - 0xd4]
cmp ecx, edi
jb 0x51f8aa
lea eax, [edx + edi]
cmp ecx, eax
jb 0x51f951
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 4]
mov eax, dword [ebp - 0x11c]
push esi
push edx
push edi
add eax, ebx
push eax
push dword [ebp - 0x118]
call fcn.00533510
mov eax, dword [ebp - 0xf8]
add esp, 0x1c
mov dword [ebp - 0xe8], eax
test eax, eax
jne 0x51fb24
mov eax, dword [ebp - 0xfc]
inc ebx
dec eax
cmp ebx, eax
jl 0x51f710
mov edi, dword [ebp - 0x38]
mov esi, 1
sub esi, dword [ebp - 0xfc]
mov dword [ebp - 0x128], esi
cmp esi, dword [ebp - 0xfc]
jge 0x51fa16
mov eax, esi
lea ebx, [ebp - 0x18]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x51fa00
test esi, esi
jns 0x51f944
mov eax, dword [ebp + ecx*4 - 0x90]
cmp eax, dword [ebp + ecx*4 - 0x64]
jl 0x51fa00
test ecx, ecx
jne 0x51f97e
mov esi, dword [ebp - 0x60]
xor eax, eax
xor edx, edx
jmp 0x51f9b5
push 0x674cf4
push 0x11fbb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0051a330
add esp, 0x14
mov dword [ebp - 0xe8], 0xb
jmp 0x51fb24
cmp ecx, dword [ebp - 0x114]
jge 0x51f99a
xor eax, eax
cmp byte [ebp - 0xe9], al
sete al
add eax, dword [ebp + ecx*4 - 0x90]
jmp 0x51f9a0
mov eax, dword [ebp - 0xe4]
mov esi, dword [ebp + ecx*4 - 0x60]
xor edx, edx
cmp byte [ebp - 0xe9], dl
sete dl
add edx, dword [ebp + ecx*4 - 0x64]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [ebp - 0xe4]
push ecx
push esi
push edx
push eax
push dword [ebp + edi - 0x38]
call fcn.005292b0
add esp, 0x14
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf8], eax
test eax, eax
jne 0x51fb24
mov eax, dword [ebp + edi - 0x38]
mov ecx, dword [ebp - 0x120]
sub ecx, dword [ebp + edi - 0x4c]
mov esi, dword [ebp - 0x128]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
inc esi
mov dword [ebp - 0x128], esi
cmp esi, dword [ebp - 0xfc]
jl 0x51f918
mov edi, dword [ebp - 0x38]
cmp dword [ebp + 0x14], 0
je 0x51fa83
mov ebx, dword [ebp - 0x118]
cmp word [ebx + 0x18], 0
jne 0x51fa83
movzx eax, byte [ebx + 9]
cmp eax, dword [edi + 0x14]
jg 0x51fa83
push 0xffffffffffffffff
push edi
call fcn.005283d0
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf8]
push eax
push ebx
push dword [ebp - 0x38]
call fcn.005276f0
mov edx, dword [ebp - 0xf8]
add esp, 0x14
mov dword [ebp - 0xe8], edx
test edx, edx
jne 0x51faee
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00530600
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xe8], edx
jmp 0x51faee
mov ecx, dword [ebp - 0x110]
cmp byte [ecx + 0x11], 0
je 0x51fae8
cmp word [ebp - 0x130], 0
mov edi, dword [ebp - 0xfc]
jne 0x51fae0
xor esi, esi
test edi, edi
jle 0x51fae0
mov eax, dword [ebp + esi*4 - 0x38]
lea edx, [ebp - 0xf8]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov eax, dword [eax + 8]
bswap eax
push eax
push ecx
call fcn.0053e050
mov ecx, dword [ebp - 0x110]
inc esi
add esp, 0x14
cmp esi, edi
jl 0x51faa5
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xe8], edx
jmp 0x51faf4
mov edx, dword [ebp - 0xe8]
jmp 0x51faf4
mov edx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xfc]
mov ebx, dword [ebp - 0x114]
mov esi, edi
cmp edi, ebx
jge 0x51fb24
mov eax, dword [ebp + esi*4 - 0x24]
test edx, edx
jne 0x51fb19
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00530600
add esp, 0xc
mov edx, eax
inc esi
cmp esi, ebx
jl 0x51fb00
mov dword [ebp - 0xe8], edx
mov ebx, dword [ebp - 0xdc]
test ebx, ebx
je 0x51fbd3
cmp dword [0x6d1968], 0
je 0x51fbab
mov eax, dword [0x6e16e0]
test eax, eax
je 0x51fb58
mov esi, dword [0x6d19b8]
mov ecx, esi
push eax
call dword [0x659730]
call esi
add esp, 4
mov esi, dword [0x6d1994]
mov ecx, esi
push ebx
call dword [0x659730]
call esi
mov esi, dword [0x6d198c]
add esp, 4
sub dword [0x6e1678], eax
mov ecx, esi
dec dword [0x6e169c]
push ebx
call dword [0x659730]
call esi
mov eax, dword [0x6e16e0]
add esp, 4
test eax, eax
je 0x51fbd3
mov esi, dword [0x6d19c0]
mov ecx, esi
push eax
call dword [0x659730]
call esi
add esp, 4
jmp 0x51fbd3
mov esi, dword [0x6d198c]
mov ecx, esi
push ebx
call dword [0x659730]
call esi
add esp, 4
jmp 0x51fbd3
add eax, 4
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0060a8e0
add esp, 0xc
xor ebx, ebx
cmp dword [ebp - 0x114], ebx
jle 0x51fc4a
nop dword [eax]
mov edx, dword [ebp + ebx*4 - 0x24]
test edx, edx
je 0x51fc41
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x51fc38
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00608a40
push edx
push eax
push esi
mov esi, dword [edi + 0x48]
mov ecx, esi
call dword [0x659730]
call esi
add esp, 0x10
jmp 0x51fc41
push edx
call fcn.005660b0
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0x114]
jl 0x51fbe0
xor ebx, ebx
cmp dword [ebp - 0xfc], ebx
jle 0x51fcbe
mov edx, dword [ebp + ebx*4 - 0x38]
test edx, edx
je 0x51fcb5
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x51fcac
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00608a40
push edx
push eax
push esi
mov esi, dword [edi + 0x48]
mov ecx, esi
call dword [0x659730]
call esi
add esp, 0x10
jmp 0x51fcb5
push edx
call fcn.005660b0
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xfc]
jl 0x51fc54
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00608185
mov esp, ebp
pop ebp
ret