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

Disassembly:
sub esp, 0x120
xor eax, eax
mov dword [esp + 0x94], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
push edi
xor edi, edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
mov eax, dword [esi]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], edi
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xb0], 1
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x24], edi
jne 0x5192ec
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.00515170
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x5192ec
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x54], 0xffff8000
test ecx, ecx
je 0x516dfc
mov eax, dword [esi]
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x516dfc
jmp 0x516df0
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x516df0
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x13c]
lea eax, [esp + 0xc0]
push eax
push ebp
push 0x81
push ebx
push esi
call fcn.005166d0
mov edx, dword [esp + 0x14c]
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x5c], eax
cmp byte [ebx + 0x2b], 2
sete cl
cmp dword [edx], 1
mov dword [esp + 0x68], ecx
jle 0x516e3d
mov eax, dword [ebp]
jmp 0x516e3f
xor eax, eax
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x516e7f
test eax, eax
jne 0x516e7f
push str.UPDATE
push dword [esp + 0x150]
push dword [esp + 0x150]
push dword [esp + 0x14c]
push edx
push esi
call fcn.00506960
add esp, 0x18
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
jmp 0x516ea2
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x140]
push ebx
push esi
mov dword [esp + 0x3c], eax
call fcn.00526520
add esp, 8
test eax, eax
jne 0x517385
push dword [esp + 0xc0]
push ebx
push esi
call fcn.00505cb0
add esp, 0xc
test eax, eax
jne 0x517385
mov edi, dword [esi + 0x28]
mov ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x9c], ecx
lea edx, [edi + 1]
mov dword [esi + 0x28], edx
test byte [ebx + 0x1c], 0x80
mov dword [esp + 0xa8], edx
jne 0x516efa
mov dword [esp + 0x3c], eax
jmp 0x516f09
push ebx
call fcn.0050ec30
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, edi
mov eax, dword [ebx + 8]
xor ebp, ebp
mov dword [esp + 0x64], ebp
test eax, eax
je 0x516f32
cmp dword [esp + 0x3c], eax
jne 0x516f1e
mov edi, edx
inc edx
inc ebp
mov dword [esi + 0x28], edx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x516f16
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x150]
test eax, eax
je 0x516f51
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0xa8], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x138]
push 0
mov dword [ecx + 0x34], edi
movsx eax, word [ebx + 0x22]
add eax, ebp
lea eax, [eax*4 + 6]
add eax, ebp
push eax
push dword [esp + 0x54]
call fcn.004f0ee0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x2c], edi
test edi, edi
je 0x51737e
movsx eax, word [ebx + 0x22]
lea eax, [edi + eax*4]
lea ecx, [eax + 4]
mov dword [esp + 0x7c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [ecx + ebp*4]
push 1
push ecx
mov dword [esp + 0x8c], ecx
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x8c]
add esp, 0xc
xor ecx, ecx
mov byte [eax + ebp + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x22]
jge 0x516fd4
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x22]
cmp ecx, eax
jl 0x516fc4
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xfc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0xf4], esi
mov dword [esp + 0x10c], 0x200
mov dword [esp + 0x10], eax
test eax, eax
jne 0x51706d
cmp dword [esi + 0x74], eax
jne 0x517058
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x517058
mov byte [esi + 0x17], 1
push esi
call fcn.0051ae50
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x51737e
mov ecx, dword [esp + 0x13c]
xor ebp, ebp
xor al, al
mov byte [esp + 0x43], 0
mov byte [esp + 0x1b], al
mov dword [esp + 0x60], ebp
cmp dword [ecx], ebp
jle 0x5172fb
lea esi, [ecx + 8]
mov dword [esp + 0x44], esi
mov ecx, dword [esi + 4]
xor dl, dl
mov byte [esp + 0x3b], dl
test ecx, ecx
jne 0x5170a7
mov byte [esp + 0x3b], dl
jmp 0x5170c6
mov al, byte [ecx]
test al, al
je 0x5170c6
lea ecx, [ecx]
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x5726b0]
mov al, byte [ecx]
test al, al
jne 0x5170b0
mov byte [esp + 0x3b], dl
cmp dword [esp + 0x30], 0
jne 0x5170e7
push dword [esi]
lea eax, [esp + 0xf8]
push eax
call fcn.005100f0
add esp, 8
test eax, eax
jne 0x51737a
movsx eax, word [ebx + 0x22]
xor edi, edi
mov dword [esp + 0x84], eax
test eax, eax
jle 0x517192
mov ebp, dword [ebx + 4]
xor ebx, ebx
mov al, byte [esp + 0x3b]
mov ecx, dword [esp + 0x84]
lea esp, [esp]
cmp byte [ebx + ebp + 0xa], al
jne 0x517186
mov esi, dword [esi + 4]
mov edx, dword [ebx + ebp]
sub esi, edx
mov edi, edi
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x517162
test ecx, ecx
jne 0x517174
mov ebx, dword [esp + 0x1c]
movsx eax, word [ebx + 0x20]
cmp edi, eax
jne 0x5171d6
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x60]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x6c], ebp
mov eax, dword [ebx]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], ebp
jmp 0x517196
movzx eax, byte [eax + 0x5726b0]
movzx ecx, byte [ecx + 0x5726b0]
sub ecx, eax
jne 0x517177
inc edx
jmp 0x517120
mov al, byte [esp + 0x3b]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x44]
inc edi
add ebx, 0x10
cmp edi, ecx
jl 0x517110
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x22]
cmp edi, eax
jl 0x51727e
cmp dword [esp + 0x3c], 0
jne 0x5173d1
mov edi, dword [ebx + 4]
mov esi, str._ROWID_
mov edx, edi
sub esi, edi
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x517221
test ecx, ecx
je 0x51725e
inc edx
jmp 0x5171c0
cmp dword [esp + 0x3c], 0
je 0x5171fe
mov eax, edi
add eax, eax
test byte [ebp + eax*8 + 0xe], 1
je 0x5171fe
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov byte [esp + 0x43], 1
mov dword [eax + edi*4], ebp
jmp 0x517196
mov eax, edi
add eax, eax
test byte [ebp + eax*8 + 0xe], 0x60
jne 0x51735e
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov dword [eax + edi*4], ebp
jmp 0x517196
movzx eax, byte [eax + 0x5726b0]
movzx ecx, byte [ecx + 0x5726b0]
sub ecx, eax
jne 0x517236
inc edx
jmp 0x5171c0
push str.ROWID
push edi
call fcn.00515ad0
add esp, 8
test eax, eax
je 0x51725e
push 0x57b1a4
push edi
call fcn.00515ad0
add esp, 8
test eax, eax
jne 0x5173d1
mov eax, dword [ebx]
or edi, 0xffffffff
mov ebx, dword [esp + 0x1c]
mov edx, str.ROWID
mov byte [esp + 0x1b], 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0x6c], ebp
jmp 0x51729b
test edi, edi
jns 0x51728d
mov ebx, dword [esp + 0x1c]
mov edx, str.ROWID
jmp 0x51729b
mov ebx, dword [esp + 0x1c]
mov ecx, edi
add ecx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + ecx*8]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
add ecx, ecx
mov eax, dword [esi + 0x10]
push dword [eax + ecx*8]
push edx
push dword [ebx]
push 0x17
push dword [esp + 0x144]
call fcn.004e7a40
add esp, 0x14
cmp eax, 1
je 0x51931b
cmp eax, 2
jne 0x5172d8
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x13c]
inc ebp
mov esi, dword [esp + 0x44]
add esi, 0x14
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], esi
cmp ebp, dword [ecx]
jl 0x517094
mov al, byte [esp + 0x1b]
mov edx, dword [esp + 0x1c]
mov bl, byte [esp + 0x43]
add bl, al
mov byte [esp + 0x74], bl
test byte [edx + 0x1c], 0x60
je 0x5174d3
mov ebp, dword [esp + 0x2c]
xor eax, eax
xor ebx, ebx
xor esi, esi
cmp ax, word [edx + 0x22]
jge 0x5174cf
xor edi, edi
lea esp, [esp]
cmp dword [ebp + esi*4], 0
jge 0x5174b7
mov eax, dword [edx + 4]
test byte [eax + edi + 0xe], 0x60
je 0x5174b7
movzx eax, word [eax + edi + 0xc]
test ax, ax
jne 0x517404
xor eax, eax
jmp 0x517428
mov eax, dword [ebx + 4]
add edi, edi
push dword [eax + edi*8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x13c]
call fcn.004f3220
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x13c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0xec]
test eax, eax
je 0x5173a5
mov ecx, dword [esp + 0xe4]
mov dword [eax + 0xf8], ecx
test edi, edi
je 0x5193bc
test esi, esi
je 0x519367
cmp dword [esi + 0x210], 0
je 0x51932f
push edi
push esi
call fcn.004d5010
add esp, 8
jmp 0x5193bc
mov ebx, dword [esp + 0x134]
lea eax, [ebp*4]
add eax, ebp
mov ebp, dword [esp + 0x13c]
push dword [ebp + eax*4 + 0xc]
push str.no_such_column:__s
push ebx
call fcn.004f3220
mov edi, dword [esp + 0x38]
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x517385
cmp byte [edx + 0x2b], 0
je 0x51740e
xor eax, eax
jmp 0x517428
mov ecx, dword [edx + 0x34]
test ecx, ecx
jne 0x517419
xor eax, eax
jmp 0x517428
cmp dword [ecx], eax
jge 0x517421
xor eax, eax
jmp 0x517428
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
xor ecx, ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], cx
mov dword [esp + 0xcc], 0x4ae7d0
mov dword [esp + 0xe0], ebp
test eax, eax
je 0x517496
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0053a2d0
mov cx, word [esp + 0xe4]
add esp, 8
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0x1b], 0
jne 0x5174a5
mov eax, 0xfffd
and cx, ax
test cx, cx
je 0x5174b7
mov dword [ebp + esi*4], 0x1869f
mov ebx, 1
movsx eax, word [edx + 0x22]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x517330
test ebx, ebx
jne 0x517317
mov bl, byte [esp + 0x74]
cmp byte [edx + 0x2b], 1
jne 0x5174e1
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x5174e5
xor eax, eax
xor ecx, ecx
mov ebp, dword [esp + 0x138]
mov edi, dword [esp + 0x134]
mov dword [ebp + 0x40], eax
movzx eax, bl
push eax
push dword [esp + 0x30]
mov dword [ebp + 0x44], ecx
push edx
push edi
mov dword [esp + 0x94], eax
call fcn.004faef0
add esp, 0x10
mov ebp, eax
cmp dword [esp + 0x144], 5
mov dword [esp + 0x60], ebp
jne 0x51752d
mov dword [esp + 0x90], 1
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov esi, dword [eax + 8]
test esi, esi
je 0x517748
cmp byte [esp + 0x74], 0
jne 0x517707
cmp ebp, 1
jg 0x517707
cmp esi, dword [esp + 0x3c]
je 0x517707
mov eax, dword [esi + 0x24]
test eax, eax
je 0x5175f4
xor ecx, ecx
push eax
mov dword [esp + 0xe0], ecx
lea eax, [esp + 0xcc]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov word [esp + 0xe0], cx
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0xd4], 0x4ae7d0
mov dword [esp + 0xe8], ecx
call fcn.0053a2d0
mov cx, word [esp + 0xe4]
add esp, 8
cmp byte [esp + 0x1b], 0
jne 0x5175e4
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x517707
xor eax, eax
xor ebp, ebp
xor edi, edi
cmp ax, word [esi + 0x32]
jae 0x51771a
xor ebx, ebx
jmp 0x517610
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x2c]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x51762e
cwde
xor ecx, ecx
cmp dword [edx + eax*4], ecx
setge cl
jmp 0x5176b6
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + ebx + 8]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov word [esp + 0x128], ax
mov dword [esp + 0x118], 0x4ae7d0
mov dword [esp + 0x12c], edx
test ecx, ecx
je 0x51769f
push ecx
lea eax, [esp + 0x118]
push eax
call fcn.0053a2d0
mov ax, word [esp + 0x130]
add esp, 8
cmp byte [esp + 0x1b], 0
jne 0x5176ae
mov ecx, 0xfffd
and ax, cx
xor ecx, ecx
test ax, ax
setne cl
test ecx, ecx
jne 0x5176d0
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x517610
mov ebx, dword [esp + 0x24]
jmp 0x51771a
mov edi, dword [esp + 0x134]
mov ebx, dword [esp + 0x24]
inc dword [edi + 0x2c]
movzx eax, word [esi + 0x34]
mov ebp, dword [edi + 0x2c]
add eax, ebp
cmp dword [esp + 0x144], 0xb
mov dword [edi + 0x2c], eax
jne 0x517716
cmp byte [esi + 0x36], 5
jne 0x517716
mov dword [esp + 0x90], 1
jmp 0x517716
inc dword [edi + 0x2c]
movzx eax, word [esi + 0x34]
mov ebp, dword [edi + 0x2c]
add eax, ebp
mov dword [edi + 0x2c], eax
test ebp, ebp
jne 0x517726
mov eax, dword [esp + 0x80]
mov byte [ebx + eax + 1], 0
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x134]
mov dword [eax + ebx*4], ebp
inc ebx
mov esi, dword [esi + 0x14]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x24], ebx
test esi, esi
jne 0x517542
mov ecx, dword [esp + 0x7c]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ecx + ebx*4], eax
cmp dword [esp + 0x90], 0
je 0x517776
mov eax, dword [esp + 0x64]
inc eax
push eax
push 1
push dword [esp + 0x88]
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp byte [edi + 0x12], 0
jne 0x517787
mov eax, dword [esp + 0x10]
or dword [eax + 0xa0], 0x10
cmp dword [esp + 0x5c], 0
jne 0x517796
test ebp, ebp
jne 0x517796
xor ebx, ebx
jmp 0x51779b
mov ebx, 1
mov esi, dword [edi + 0x74]
test esi, esi
jne 0x5177a4
mov esi, edi
mov ecx, dword [esp + 0x54]
mov edi, 1
mov eax, dword [esi + 0x54]
shl edi, cl
test edi, eax
jne 0x5177c9
or eax, edi
mov dword [esi + 0x54], eax
cmp ecx, 1
jne 0x5177c9
push esi
call fcn.00508740
add esp, 4
or dword [esi + 0x50], edi
or byte [esi + 0x14], bl
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x134]
cmp byte [esi + 0x2b], 1
je 0x517856
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + ebx*4]
inc dword [edi + 0x2c]
cmp byte [esp + 0x43], 0
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], edx
jne 0x517810
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x517810
test ebp, ebp
je 0x517827
lea eax, [edx + 1]
mov dword [esp + 0xf0], eax
movsx eax, word [esi + 0x22]
add eax, edx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x5c]
cmp byte [esp + 0x74], 0
jne 0x517836
test eax, eax
jne 0x517836
test ebp, ebp
je 0x517840
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x50], eax
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
movsx eax, word [esi + 0x22]
add eax, ecx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x517880
mov eax, edi
mov dword [esp + 0xec], eax
mov eax, dword [edi + 0xf8]
mov dword [esp + 0xe4], eax
mov eax, dword [esi]
mov dword [edi + 0xf8], eax
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x30], 0
jne 0x5178dd
test eax, eax
je 0x5178c1
push dword [esp + 0x14]
push dword [esp + 0x98]
push dword [esp + 0xa0]
push dword [esp + 0x40]
push esi
push edi
call fcn.00507b10
add esp, 0x18
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
push dword [esp + 0x34]
lea eax, [esp + 0xf8]
push eax
call fcn.005100f0
add esp, 8
test eax, eax
jne 0x51737a
cmp byte [esi + 0x2b], 1
jne 0x51791c
push dword [esp + 0x144]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x140]
push ebx
push dword [esp + 0x34]
push dword [esp + 0xc4]
push ebp
push esi
push dword [esp + 0x150]
push edi
call fcn.00532a80
mov edi, dword [esp + 0x4c]
add esp, 0x20
jmp 0x517389
mov eax, dword [esp + 0x4c]
dec dword [edi + 0x38]
mov edi, dword [edi + 0x38]
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
mov dword [esp + 0x54], edi
or eax, ecx
mov ecx, dword [esp + 0x134]
je 0x5179da
cmp dword [ecx + 0x78], 0
jne 0x5179da
cmp byte [ecx + 0x12], 0
jne 0x5179da
cmp byte [ecx + 0x95], 0
jne 0x5179da
cmp dword [esp + 0x150], 0
mov ebp, dword [esp + 0x10]
jne 0x5179de
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0xc4], edx
cmp dword [ebp + 0x78], ecx
jg 0x51799e
push 0
push edx
push 0
push 0x47
push ebp
call fcn.004ceed0
mov ecx, dword [esp + 0x148]
add esp, 0x14
jmp 0x5179de
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebp + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x134]
jmp 0x5179de
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
jne 0x517abe
test byte [esi + 0x1c], 0x80
jne 0x517abe
mov ecx, dword [ebp + 0x74]
cmp dword [ebp + 0x78], ecx
jg 0x517a12
push dword [esp + 0x28]
push dword [esp + 0x7c]
push 0
push 0x4a
push ebp
call fcn.004ceed0
add esp, 0x14
jmp 0x517a45
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [ebp + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x134]
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x20], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x28], eax
mov esi, dword [ebp + 0x74]
mov dword [esp + 0x88], esi
cmp dword [ebp + 0x78], esi
jg 0x517a86
push dword [esp + 0x78]
push 0
push ecx
push 0x74
push ebp
call fcn.004ceed0
add esp, 0x14
mov dword [esp + 0x88], eax
jmp 0x517cb9
lea eax, [esi + 1]
mov dword [ebp + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebp + 0x70]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x517cc0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x517acc
movzx ebx, word [eax + 0x32]
jmp 0x517ace
xor ebx, ebx
mov eax, dword [ecx + 0x2c]
movsx edi, bx
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x30]
lea edx, [eax + 1]
inc ebx
add eax, edi
mov dword [esp + 0x58], edx
add eax, ebx
cmp dword [esp + 0x150], 0
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [ecx + 0x2c], eax
jne 0x517c7d
cmp dword [esp + 0x68], 0
je 0x517b11
movsx eax, word [esi + 0x22]
jmp 0x517b13
xor eax, eax
lea esi, [edi + eax]
mov eax, dword [ecx + 0x28]
add esi, dword [esp + 0x30]
mov dword [esp + 0x20], eax
inc eax
cmp dword [esp + 0x3c], 0
mov dword [ecx + 0x28], eax
je 0x517b7e
mov ecx, dword [ebp + 0x74]
dec edx
add edx, edi
cmp dword [ebp + 0x78], ecx
jg 0x517b4b
push edx
push dword [esp + 0x5c]
push 0
push 0x4a
push ebp
call fcn.004ceed0
add esp, 0x14
jmp 0x517b7e
mov ebx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [ebp + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x70]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x74]
mov dword [esp + 0x88], edx
cmp dword [ebp + 0x78], edx
jg 0x517ba8
push 0
push esi
push dword [esp + 0x28]
push 0x74
push ebp
call fcn.004ceed0
add esp, 0x14
mov dword [esp + 0x88], eax
jmp 0x517bd7
lea eax, [edx + 1]
mov dword [ebp + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebp + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x517c26
push eax
push dword [esp + 0x138]
call fcn.00506120
mov edx, eax
add esp, 8
test edx, edx
je 0x517c22
mov word [edx + 8], si
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x517c10
push edx
push 0xfffffffffffffff7
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x517c22
mov eax, dword [ebp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x30], 0
je 0x517d17
push dword [esp + 0x94]
mov ecx, dword [esp + 0x13c]
push dword [esp + 0x9c]
mov ebp, dword [esp + 0x28]
push dword [esp + 0x3c]
push ecx
push dword [esp + 0x14c]
push eax
push ebp
push dword [esp + 0x150]
call fcn.005325b0
mov ecx, dword [esp + 0x154]
add esp, 0x20
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x58]
je 0x517c7d
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x30], 0
je 0x517cb5
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x517c8d
mov eax, ecx
mov ebp, dword [esp + 0xe4]
xor esi, esi
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0xe8]
mov byte [eax + 0x14], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], edx
jmp 0x51812e
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x134]
cmp dword [esp + 0x150], 0
je 0x517d17
push 0x10
push edi
push dword [esp + 0x3c]
mov esi, 1
mov dword [esp + 0xc0], 0
push edx
mov dword [esp + 0x34], esi
call fcn.004f6f90
mov edi, dword [esp + 0xf8]
add esp, 0x10
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0xb0], 0
mov dword [esp + 0x70], edi
mov dword [esp + 0xbc], ebp
jmp 0x517ded
mov ecx, dword [esp + 0x134]
mov eax, 4
cmp byte [ecx + 0x12], 0
jne 0x517d4d
cmp dword [esp + 0x5c], 0
jne 0x517d4d
cmp dword [esp + 0x60], 0
jne 0x517d4d
cmp byte [esp + 0x74], 0
jne 0x517d4d
cmp dword [esp + 0x90], 0
jne 0x517d4d
mov eax, 0xc
push dword [esp + 0xa8]
push eax
push 0
push 0
push 0
push dword [esp + 0x48]
push dword [esp + 0x150]
push ecx
call fcn.00528c50
add esp, 0x20
mov dword [esp + 0xb4], eax
test eax, eax
je 0x51737a
movzx esi, byte [eax + 0x32]
mov edx, dword [eax + 0x34]
mov ebp, dword [eax + 0x18]
and edx, 1
mov edi, dword [eax + 0x1c]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0xb0], edx
cmp esi, 1
je 0x517ded
mov ecx, dword [esp + 0x134]
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x517db9
mov eax, ecx
mov byte [eax + 0x14], 1
cmp esi, 2
jne 0x517ded
test edi, edi
js 0x517ded
mov ecx, dword [esp + 0x14]
cmp edi, ecx
je 0x517df1
mov edx, dword [esp + 0x80]
mov eax, edi
sub eax, dword [esp + 0x9c]
xor ecx, ecx
cmp byte [eax + edx], cl
setne cl
dec ecx
and esi, ecx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test byte [eax + 0x1c], 0x80
jne 0x517f22
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x517e29
push 0
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 0x86
push edx
call fcn.004ceed0
mov edx, dword [esp + 0x24]
add esp, 0x14
jmp 0x517e63
mov ebp, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x517ed7
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x7c]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x517e9f
push dword [esp + 0x28]
push dword [esp + 0x7c]
push dword [esp + 0x28]
push 0x7f
push edx
call fcn.004ceed0
add esp, 0x14
jmp 0x51812e
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x51812e
mov eax, dword [esp + 0x88]
test eax, eax
je 0x51812e
mov edx, dword [edx]
cmp byte [edx + 0x57], 0
jne 0x51812e
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.004bbca0
add esp, 0xc
mov word [esi], 0xb6
mov dword [esi + 0x10], 0
jmp 0x51812a
mov eax, dword [esp + 0xac]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x517f72
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov eax, dword [esp + 0x58]
add eax, esi
push eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push ecx
push edi
push ebp
call fcn.004f43c0
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x517f40
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x517fd0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x517fbc
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
cmp byte [edx + 0x57], 0
jne 0x517fbc
mov eax, dword [eax + 0x70]
lea ecx, [ecx + ecx*4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.004bbca0
mov word [esi], 0xb6
add esp, 0xc
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x48], eax
jmp 0x51812e
push dword [esp + 0x3c]
push dword [esp + 0x50]
call fcn.00504060
mov ecx, dword [esp + 0x18]
add esp, 8
mov esi, eax
mov edx, dword [ecx + 0x74]
cmp dword [ecx + 0x78], edx
jg 0x518006
push dword [esp + 0x48]
push ebx
push dword [esp + 0x60]
push 0x60
push ecx
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x51803d
mov edi, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
je 0x51805b
cmp ebx, 0xfffffff4
je 0x5180a7
push esi
push ebx
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x5180a7
test edx, edx
jns 0x518063
mov edx, dword [ecx + 0x74]
dec edx
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x70]
lea eax, [eax + ecx*4]
test ebx, ebx
jns 0x51809b
cmp byte [eax + 1], 0
jne 0x51809b
cmp ebx, 0xfffffffd
jne 0x518087
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
jmp 0x5180a7
test esi, esi
je 0x5180a7
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
cmp ebx, 0xfffffff4
jne 0x5180a7
inc dword [esi + 0xc]
jmp 0x5180a7
push ebx
push esi
push eax
push edx
call fcn.00533cd0
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x74]
cmp dword [eax + 0x78], edx
jg 0x5180d5
push dword [esp + 0x58]
push dword [esp + 0x4c]
push dword [esp + 0x28]
push 0x89
push eax
call fcn.004ceed0
mov esi, dword [esp + 0x24]
add esp, 0x14
mov edx, eax
jmp 0x518113
mov esi, dword [esp + 0x10]
lea eax, [edx + 1]
mov ebp, dword [esp + 0x20]
lea ecx, [edx + edx*4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x51812a
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x150], 0
jne 0x51874b
cmp dword [esp + 0x30], 0
jne 0x518157
cmp esi, 2
je 0x518157
push dword [esp + 0xb4]
call fcn.0052b800
add esp, 4
cmp dword [esp + 0x68], 0
mov ebx, dword [esp + 0x24]
jne 0x518261
xor esi, esi
test ebx, ebx
je 0x518192
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x80]
test ebp, ebp
js 0x518186
mov eax, ebp
sub eax, edx
mov byte [eax + ecx], 0
test edi, edi
js 0x518192
mov eax, edi
sub eax, edx
mov byte [eax + ecx], 0
cmp ebx, 2
jne 0x5181fc
mov ecx, dword [esp + 0x64]
xor eax, eax
test edi, edi
setns al
sub ecx, eax
test ecx, ecx
jle 0x5181fc
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x74]
cmp dword [edx + 0x78], esi
jg 0x5181c9
push 0
push 0
push 0
push 0x11
push edx
call fcn.004ceed0
add esp, 0x14
mov esi, eax
jmp 0x5181fc
lea eax, [esi + 1]
mov dword [edx + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0
push dword [esp + 0x88]
push dword [esp + 0xa8]
push 0
push 0x70
push dword [esp + 0x34]
push dword [esp + 0x150]
call fcn.00508520
add esp, 0x20
test esi, esi
je 0x518261
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x74]
lea eax, [edx - 1]
cmp esi, eax
jne 0x51823c
mov dword [ecx + 0x74], eax
jmp 0x518261
test esi, esi
jns 0x518242
mov esi, eax
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
je 0x518251
mov eax, 0x6a4314
jmp 0x51825e
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test ebx, ebx
je 0x5183b2
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
cmp ebp, eax
je 0x518297
cmp edi, eax
mov edi, dword [esp + 0x48]
je 0x51829b
push dword [esp + 0xa0]
push edi
push esi
push eax
push 0x1e
push dword [esp + 0x24]
call fcn.0051a560
add esp, 0x18
jmp 0x51829b
mov edi, dword [esp + 0x48]
cmp ebx, 1
je 0x5182b1
mov eax, dword [esp + 0x134]
dec dword [eax + 0x38]
mov ebp, dword [eax + 0x38]
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x3c], 0
mov edx, edi
jne 0x5182be
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x518382
push 0
push esi
push edx
push 0x32
push ebx
call fcn.004ceed0
add esp, 0x14
mov edi, dword [esp + 0x134]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x1b], 0
je 0x51881f
test eax, eax
jne 0x51879d
cmp dword [edi + 8], eax
je 0x51835d
mov ebp, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0xbc]
push ebp
push edi
call fcn.004f55f0
mov edx, dword [esp + 0x5c]
mov esi, eax
add esp, 0xc
cmp esi, edx
je 0x518361
test ebp, ebp
je 0x518333
test dword [ebp + 4], 0x200000
mov al, 0x4f
jne 0x518335
mov al, 0x50
mov edx, dword [edi + 8]
movzx ebx, al
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x51875d
mov ebp, dword [esp + 0x50]
push 0
push ebp
push esi
push ebx
push edx
call fcn.004ceed0
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x5187f0
push 0
push 0
push edx
push 0xf
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x51881f
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5182dd
cmp dword [esp + 0x3c], 0
jne 0x5184e1
cmp dword [esp + 0x30], 0
jne 0x5184e1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x5183ed
push 0
push esi
mov esi, dword [esp + 0x28]
push esi
push 0x26
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x51841e
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, edx
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x134]
dec dword [edi + 0x38]
mov ecx, dword [ebx + 0x74]
mov ebp, dword [edi + 0x38]
mov dword [esp + 0x54], ebp
mov dword [esp + 0xa4], ecx
cmp dword [ebx + 0x78], ecx
jg 0x518460
push 0
push dword [esp + 0x2c]
push esi
push 0x86
push ebx
call fcn.004ceed0
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0xa4], eax
jmp 0x51848f
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x5184ad
push edx
push ebp
push dword [esp + 0x1c]
push 0x21
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x5182e8
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5182e8
mov edi, dword [esp + 0x134]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x44]
dec dword [edi + 0x38]
mov ecx, dword [ebx + 0x74]
mov ebp, dword [edi + 0x38]
mov dword [esp + 0x54], ebp
cmp dword [ebx + 0x78], ecx
jg 0x51851a
push 0
push esi
push dword [esp + 0x28]
push 0x26
push ebx
call fcn.004ceed0
mov edx, dword [esp + 0x34]
add esp, 0x14
jmp 0x518549
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0xa4], ecx
test eax, eax
je 0x518693
cmp dword [esp + 0x68], 0
jne 0x518754
cmp dword [esp + 0x3c], 0
je 0x5185fd
mov eax, dword [esp + 0xac]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x5185e3
mov ebp, dword [esp + 0x58]
lea esp, [esp]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x5185af
lea eax, [esi + ebp]
push eax
push esi
push edx
push 0x5d
push ebx
call fcn.004ceed0
mov edx, dword [esp + 0x34]
add esp, 0x14
jmp 0x5185da
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
lea ecx, [eax + ecx*4]
lea eax, [esi + ebp]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
inc esi
cmp esi, edi
jl 0x518590
mov ebp, dword [esp + 0x54]
push edi
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x20]
push 0x1e
push ebx
call fcn.0051a560
add esp, 0x18
jmp 0x5182dd
mov esi, dword [esp + 0x28]
cmp dword [ebx + 0x78], ecx
jg 0x51861a
push 0
push esi
push edx
push 0x86
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x518645
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x518663
push esi
push ebp
push dword [esp + 0x1c]
push 0x21
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x5182e4
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5182e4
mov esi, dword [esp + 0x48]
cmp dword [ebx + 0x78], ecx
jg 0x5186b0
push 0
push esi
push edx
push 0x85
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x5186db
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], edx
jg 0x5186f8
push esi
push ebp
push dword [esp + 0x1c]
push 0x1e
push ebx
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x518727
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne 0x5182e4
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5182e4
mov ebx, dword [esp + 0x10]
jmp 0x5182dd
mov esi, dword [esp + 0x20]
jmp 0x5182ec
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x50]
mov byte [eax + ecx*4], bl
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
jmp 0x518361
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x6c]
cmp dword [ebx + 0x78], ecx
jg 0x5187c0
mov ebp, dword [esp + 0x50]
push ebp
push edx
push esi
push 0x5d
push ebx
call fcn.004ceed0
add esp, 0x14
jmp 0x51835d
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x518361
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x43], 0
jne 0x5188d4
cmp dword [esp + 0x60], 0
jne 0x5188df
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x518a85
xor ebx, ebx
push dword [esp + 0x144]
push dword [esp + 0x20]
push 3
push 0
push dword [esp + 0x14c]
push dword [esp + 0x70]
push edi
call fcn.00516150
mov ecx, dword [esp + 0x38]
or ebx, eax
xor eax, eax
mov dword [esp + 0x80], ebx
add esp, 0x1c
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x51899f
xor ebp, ebp
mov edi, ebx
test byte [ecx + 0x1c], 0x20
mov ebx, dword [ecx + 4]
je 0x5188fc
movzx eax, si
test ax, ax
js 0x5188fc
movsx ecx, ax
xor edi, edi
xor edx, edx
test ecx, ecx
jle 0x5188b2
lea eax, [ebx + 0xe]
mov edi, ecx
test byte [eax], 0x20
jne 0x5188ac
inc edx
add eax, 0x10
dec ecx
jne 0x5188a6
mov eax, edi
add eax, eax
test byte [ebx + eax*8 + 0xe], 0x20
je 0x5188f3
mov eax, dword [esp + 0x1c]
mov ax, word [eax + 0x24]
sub ax, dx
add ax, di
mov edi, dword [esp + 0x64]
movzx eax, ax
jmp 0x5188ff
cmp dword [esp + 0x60], 0
je 0x518841
push dword [esp + 0x1c]
push edi
call fcn.004fade0
add esp, 8
mov ebx, eax
jmp 0x518843
mov edi, dword [esp + 0x64]
movzx eax, dx
jmp 0x5188ff
movzx eax, si
movsx edx, ax
add edx, dword [esp + 0xf0]
cmp edi, 0xffffffff
je 0x518975
cmp esi, 0x20
jge 0x518920
mov eax, 1
mov ecx, esi
shl eax, cl
test edi, eax
jne 0x518975
movzx eax, word [ebx + ebp + 0xe]
test al, 1
jne 0x518975
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x518944
push 0
push edx
push 0
push 0x4a
push ebx
call fcn.004ceed0
jmp 0x518988
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x51898b
push edx
push esi
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.004f43c0
add esp, 0x14
mov ecx, dword [esp + 0x1c]
inc esi
add ebp, 0x10
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x518885
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x10]
jne 0x5189d3
cmp dword [esp + 0x3c], 0
jne 0x5189d3
mov ecx, dword [edi + 0x74]
mov ebp, dword [esp + 0x50]
cmp dword [edi + 0x78], ecx
jg 0x518a51
push 0
push ebp
push dword [esp + 0x30]
push 0x4f
push edi
call fcn.004ceed0
add esp, 0x14
mov eax, dword [esp + 0x5c]
push dword [esp + 0x144]
push dword [esp + 0x20]
push 1
push 1
push dword [esp + 0x14c]
push eax
push dword [esp + 0x14c]
call fcn.00516150
mov edx, dword [esp + 0xa8]
mov ebp, eax
mov eax, dword [esp + 0x38]
xor ebx, ebx
add esp, 0x1c
mov dword [esp + 0x64], ebp
mov dword [esp + 0x70], ebx
mov esi, edx
movsx ecx, word [eax + 0x22]
test ecx, ecx
jle 0x518bb7
xor edx, edx
mov dword [esp + 0x6c], edx
movsx eax, word [eax + 0x20]
cmp ebx, eax
jne 0x518a8e
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x518cce
push 0
push esi
push 0
push 0x4a
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x518b8d
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5189d3
mov edi, dword [esp + 0x10]
jmp 0x5189d7
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx + 0xe]
test al, 0x60
je 0x518aac
test al, 0x20
je 0x518b8d
dec esi
jmp 0x518b8d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x518c92
cmp dword [esp + 0x30], 0
je 0x518b21
cmp dword [esp + 0x68], 0
jne 0x518ad3
mov ecx, dword [esp + 0xac]
movsx ecx, cx
lea edx, [ecx + eax]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x518af4
push esi
push edx
push dword [esp + 0x28]
push 0x5d
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x518b8d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x518b8d
mov ecx, dword [esp + 0x13c]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 8]
mov eax, dword [esp + 0x134]
cmp dword [eax + 8], 0
je 0x518b8d
push esi
push edi
push eax
call fcn.004f55f0
mov ebp, eax
add esp, 0xc
cmp ebp, esi
je 0x518b89
test edi, edi
je 0x518b5c
test dword [edi + 4], 0x200000
mov al, 0x4f
jne 0x518b5e
mov al, 0x50
movzx ebx, al
mov eax, dword [esp + 0x134]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x518c63
push 0
push esi
push ebp
push ebx
push edx
call fcn.004ceed0
add esp, 0x14
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
inc ebx
add dword [esp + 0x6c], 0x10
inc esi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x10]
movsx ecx, word [eax + 0x22]
mov dword [esp + 0x70], ebx
cmp ebx, ecx
jl 0x518a28
mov edx, dword [esp + 0x8c]
test byte [eax + 0x1c], 0x60
mov esi, dword [esp + 0x134]
je 0x518bd3
push eax
push edx
push esi
call fcn.004eed20
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [esp + 0xc0], 1
je 0x518e4e
push dword [esp + 0x8c]
mov edi, dword [esp + 0x14]
push eax
push edi
call fcn.00515c50
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x150]
push ebx
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x34]
push 1
push dword [esp + 0x15c]
push 0x81
push dword [esp + 0x84]
push esi
call fcn.004edc90
add esp, 0x30
cmp dword [esp + 0x68], 0
jne 0x519153
cmp dword [esp + 0x3c], 0
je 0x518d74
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x518d25
push dword [esp + 0x48]
push ebx
push dword [esp + 0x1c]
push 0x1e
push edi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x518d54
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
xor edx, edx
mov byte [eax + ecx*4], bl
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x518b85
test dword [esp + 0xc0], 1
je 0x518d02
cmp ebx, 0x1f
jg 0x518d02
mov eax, 1
mov ecx, ebx
shl eax, cl
test ebp, eax
jne 0x518d02
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x518cce
push 0
push esi
push 0
push 0x4a
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x518b8d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x518b8d
push esi
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x28]
push edi
call fcn.004f43c0
add esp, 0x14
mov dword [esp + 0xb0], 0
jmp 0x518b8d
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x518dc1
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xa0]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x518dc1
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x518d92
push dword [esp + 0x28]
push ebx
push dword [esp + 0x1c]
push 0x21
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x518dc1
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esp + 0x8c]
xor esi, esi
mov edi, eax
cmp dx, word [ecx + 0x22]
mov edx, dword [esp + 0x14]
jge 0x518e35
xor ebx, ebx
mov edi, edi
mov eax, dword [ecx + 4]
movzx eax, word [eax + ebx + 0xe]
test al, 0x60
je 0x518df3
test al, 0x20
je 0x518e19
dec edi
jmp 0x518e19
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x518e19
movsx eax, word [ecx + 0x20]
cmp esi, eax
je 0x518e19
push edi
push esi
push edx
push ecx
push dword [esp + 0x20]
call fcn.004f43c0
mov ecx, dword [esp + 0x30]
add esp, 0x14
movsx eax, word [ecx + 0x22]
inc esi
mov edx, dword [esp + 0x14]
add ebx, 0x10
inc edi
cmp esi, eax
jl 0x518de0
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
test byte [ecx + 0x1c], 0x60
je 0x518e68
push ecx
push eax
push dword [esp + 0x13c]
call fcn.004eed20
add esp, 0xc
jmp 0x518e64
cmp dword [esp + 0x68], 0
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x144]
jne 0x519149
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x90]
push 0
push dword [esp + 0x30]
push eax
push ebx
push ebp
push dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
push esi
push dword [esp + 0x6c]
push dword [esp + 0xc8]
push ebp
push dword [esp + 0xa4]
push ecx
push dword [esp + 0x164]
call fcn.004ffef0
add esp, 0x34
cmp dword [esp + 0x90], 0
jne 0x518ec0
cmp byte [esp + 0x74], 0
je 0x518f74
cmp dword [esp + 0x3c], 0
mov edi, dword [esp + 0x10]
je 0x518f33
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x518ee8
push dword [esp + 0x48]
push ebx
push ebp
push 0x1e
push edi
call fcn.004ceed0
add esp, 0x14
mov edx, eax
jmp 0x518f13
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x518f78
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xa0]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x518f78
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x518f4b
push esi
push ebx
push ebp
push 0x21
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x518f78
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x518f78
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x84]
test ebp, ebp
je 0x518fa5
push esi
push dword [esp + 0x30]
push 0
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.004f9ee0
add esp, 0x18
push 0xffffffffffffffff
push dword [esp + 0x80]
push dword [esp + 0xb0]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.005029a0
add esp, 0x18
cmp dword [esp + 0xb0], 0
je 0x518ff4
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x519025
push 0
push 0
push dword [esp + 0x1c]
push 0x8e
push edi
call fcn.004ceed0
add esp, 0x14
mov edx, dword [esp + 0x14]
cmp ebp, 1
jg 0x519008
cmp byte [esp + 0x74], 0
je 0x51908d
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x51905a
push 0
push 0
push edx
push 0x81
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x51908d
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x8e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x518ff8
mov ebx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test ebp, ebp
je 0x5190af
push esi
push dword [esp + 0x30]
push dword [esp + 0x58]
push 0
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.004f9ee0
add esp, 0x18
mov esi, dword [esp + 0x24]
xor eax, eax
cmp esi, 2
push 0
setne al
push 0
dec eax
and eax, 2
or eax, 4
push eax
push dword [esp + 0x88]
push dword [esp + 0x60]
push dword [esp + 0xbc]
push dword [esp + 0x2c]
push dword [esp + 0x38]
push dword [esp + 0x154]
call fcn.004eeb30
add esp, 0x24
test ebp, ebp
je 0x51911d
push dword [esp + 0x84]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x148]
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.004f9e50
add esp, 0x18
mov ebp, dword [esp + 0x144]
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x51918c
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x519159
push 0
push 1
push edx
push 0x55
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x51918c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x519124
mov esi, dword [esp + 0x24]
jmp 0x519124
mov ebx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebx
push ebp
push dword [esp + 0x30]
mov ebp, dword [esp + 0x140]
push dword [esp + 0x28]
push 2
push dword [esp + 0x150]
push 0x81
push dword [esp + 0x78]
push ebp
call fcn.004edc90
add esp, 0x24
cmp esi, 1
je 0x519280
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
cmp esi, 2
jne 0x51920c
add eax, dword [ecx + 0x38]
jns 0x5191f2
push ebx
push edi
push ecx
call fcn.004e0f70
add esp, 0xc
push dword [esp + 0xb4]
call fcn.0052b800
add esp, 4
jmp 0x519280
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
push dword [esp + 0xb4]
mov dword [ecx + ebx*4], eax
call fcn.0052b800
add esp, 4
jmp 0x519280
add eax, dword [ecx + 0x38]
jns 0x51921e
push ebx
push edi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x519227
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x51924a
mov edx, dword [esp + 0xa4]
push 0
push edx
push dword [esp + 0x28]
push 5
push edi
call fcn.004ceed0
add esp, 0x14
jmp 0x519280
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x51929e
push edx
push edi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x5192a7
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
cmp byte [ebp + 0x12], 0
jne 0x5192cc
cmp dword [ebp + 0x78], 0
jne 0x5192cc
cmp dword [esp + 0x150], 0
jne 0x5192cc
cmp dword [ebp + 0x70], 0
je 0x5192cc
push ebp
call fcn.004aa1c0
add esp, 4
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x51737a
push str.rows_updated
push eax
push edi
call fcn.004ed420
jmp 0x517377
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0x140]
mov ebp, dword [esp + 0x13c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x98], eax
jmp 0x517389
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x13c]
mov ebx, dword [esp + 0x34]
jmp 0x51738d
cmp edi, dword [esi + 0x164]
jae 0x519367
cmp edi, dword [esi + 0x15c]
jb 0x51934f
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x5193bc
cmp edi, dword [esi + 0x160]
jb 0x519367
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x5193bc
cmp dword [0x69bed0], 0
je 0x5193b2
mov eax, dword [0x6a3fe8]
test eax, eax
je 0x519383
push eax
call dword [0x69bf20]
add esp, 4
push edi
call dword [0x69befc]
sub dword [0x6a3f70], eax
dec dword [0x6a3f94]
push edi
call dword [0x69bef4]
mov eax, dword [0x6a3fe8]
add esp, 8
test eax, eax
je 0x5193bc
push eax
call dword [0x69bf28]
jmp 0x5193b9
push edi
call dword [0x69bef4]
add esp, 4
push dword [esp + 0x138]
push esi
call fcn.00514ab0
add esp, 8
test ebp, ebp
je 0x5193da
push ebp
push esi
call fcn.004b85c0
add esp, 8
test ebx, ebx
je 0x5193e8
push ebx
push esi
call fcn.004f6c70
add esp, 8
mov eax, dword [esp + 0x98]
test eax, eax
je 0x5193fd
push eax
push esi
call fcn.004b85c0
add esp, 8
mov eax, dword [esp + 0x94]
test eax, eax
je 0x519412
push eax
push esi
call fcn.004f6c70
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret