Function at 0x52aab0
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 0x52d09c
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.00528f20
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x52d09c
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x54], 0xffff8000
test ecx, ecx
je 0x52abac
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 0x52abac
jmp 0x52aba0
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x52aba0
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.0052a480
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 0x52abed
mov eax, dword [ebp]
jmp 0x52abef
xor eax, eax
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x52ac2f
test eax, eax
jne 0x52ac2f
push str.UPDATE
push dword [esp + 0x150]
push dword [esp + 0x150]
push dword [esp + 0x14c]
push edx
push esi
call fcn.0051a710
add esp, 0x18
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
jmp 0x52ac52
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.0053a2d0
add esp, 8
test eax, eax
jne 0x52b135
push dword [esp + 0xc0]
push ebx
push esi
call fcn.00519a60
add esp, 0xc
test eax, eax
jne 0x52b135
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 0x52acaa
mov dword [esp + 0x3c], eax
jmp 0x52acb9
push ebx
call fcn.005229e0
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 0x52ace2
cmp dword [esp + 0x3c], eax
jne 0x52acce
mov edi, edx
inc edx
inc ebp
mov dword [esi + 0x28], edx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x52acc6
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x150]
test eax, eax
je 0x52ad01
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.00504c90
mov edi, eax
add esp, 0xc
mov dword [esp + 0x2c], edi
test edi, edi
je 0x52b12e
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 0x52ad84
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x22]
cmp ecx, eax
jl 0x52ad74
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 0x52ae1d
cmp dword [esi + 0x74], eax
jne 0x52ae08
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x52ae08
mov byte [esi + 0x17], 1
push esi
call fcn.0052ec00
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x52b12e
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 0x52b0ab
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 0x52ae57
mov byte [esp + 0x3b], dl
jmp 0x52ae76
mov al, byte [ecx]
test al, al
je 0x52ae76
lea ecx, [ecx]
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x580ff0]
mov al, byte [ecx]
test al, al
jne 0x52ae60
mov byte [esp + 0x3b], dl
cmp dword [esp + 0x30], 0
jne 0x52ae97
push dword [esi]
lea eax, [esp + 0xf8]
push eax
call fcn.00523ea0
add esp, 8
test eax, eax
jne 0x52b12a
movsx eax, word [ebx + 0x22]
xor edi, edi
mov dword [esp + 0x84], eax
test eax, eax
jle 0x52af42
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 0x52af36
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 0x52af12
test ecx, ecx
jne 0x52af24
mov ebx, dword [esp + 0x1c]
movsx eax, word [ebx + 0x20]
cmp edi, eax
jne 0x52af86
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 0x52af46
movzx eax, byte [eax + 0x580ff0]
movzx ecx, byte [ecx + 0x580ff0]
sub ecx, eax
jne 0x52af27
inc edx
jmp 0x52aed0
mov al, byte [esp + 0x3b]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x44]
inc edi
add ebx, 0x10
cmp edi, ecx
jl 0x52aec0
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x22]
cmp edi, eax
jl 0x52b02e
cmp dword [esp + 0x3c], 0
jne 0x52b181
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 0x52afd1
test ecx, ecx
je 0x52b00e
inc edx
jmp 0x52af70
cmp dword [esp + 0x3c], 0
je 0x52afae
mov eax, edi
add eax, eax
test byte [ebp + eax*8 + 0xe], 1
je 0x52afae
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 0x52af46
mov eax, edi
add eax, eax
test byte [ebp + eax*8 + 0xe], 0x60
jne 0x52b10e
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov dword [eax + edi*4], ebp
jmp 0x52af46
movzx eax, byte [eax + 0x580ff0]
movzx ecx, byte [ecx + 0x580ff0]
sub ecx, eax
jne 0x52afe6
inc edx
jmp 0x52af70
push str.ROWID
push edi
call fcn.00529880
add esp, 8
test eax, eax
je 0x52b00e
push 0x589af4
push edi
call fcn.00529880
add esp, 8
test eax, eax
jne 0x52b181
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 0x52b04b
test edi, edi
jns 0x52b03d
mov ebx, dword [esp + 0x1c]
mov edx, str.ROWID
jmp 0x52b04b
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.004fb7f0
add esp, 0x14
cmp eax, 1
je 0x52d0cb
cmp eax, 2
jne 0x52b088
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 0x52ae44
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 0x52b283
mov ebp, dword [esp + 0x2c]
xor eax, eax
xor ebx, ebx
xor esi, esi
cmp ax, word [edx + 0x22]
jge 0x52b27f
xor edi, edi
lea esp, [esp]
cmp dword [ebp + esi*4], 0
jge 0x52b267
mov eax, dword [edx + 4]
test byte [eax + edi + 0xe], 0x60
je 0x52b267
movzx eax, word [eax + edi + 0xc]
test ax, ax
jne 0x52b1b4
xor eax, eax
jmp 0x52b1d8
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.00506fd0
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 0x52b155
mov ecx, dword [esp + 0xe4]
mov dword [eax + 0xf8], ecx
test edi, edi
je 0x52d16c
test esi, esi
je 0x52d117
cmp dword [esi + 0x210], 0
je 0x52d0df
push edi
push esi
call fcn.004e8dc0
add esp, 8
jmp 0x52d16c
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.00506fd0
mov edi, dword [esp + 0x38]
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x52b135
cmp byte [edx + 0x2b], 0
je 0x52b1be
xor eax, eax
jmp 0x52b1d8
mov ecx, dword [edx + 0x34]
test ecx, ecx
jne 0x52b1c9
xor eax, eax
jmp 0x52b1d8
cmp dword [ecx], eax
jge 0x52b1d1
xor eax, eax
jmp 0x52b1d8
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], 0x4c2580
mov dword [esp + 0xe0], ebp
test eax, eax
je 0x52b246
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0054e080
mov cx, word [esp + 0xe4]
add esp, 8
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0x1b], 0
jne 0x52b255
mov eax, 0xfffd
and cx, ax
test cx, cx
je 0x52b267
mov dword [ebp + esi*4], 0x1869f
mov ebx, 1
movsx eax, word [edx + 0x22]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x52b0e0
test ebx, ebx
jne 0x52b0c7
mov bl, byte [esp + 0x74]
cmp byte [edx + 0x2b], 1
jne 0x52b291
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x52b295
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.0050eca0
add esp, 0x10
mov ebp, eax
cmp dword [esp + 0x144], 5
mov dword [esp + 0x60], ebp
jne 0x52b2dd
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 0x52b4f8
cmp byte [esp + 0x74], 0
jne 0x52b4b7
cmp ebp, 1
jg 0x52b4b7
cmp esi, dword [esp + 0x3c]
je 0x52b4b7
mov eax, dword [esi + 0x24]
test eax, eax
je 0x52b3a4
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], 0x4c2580
mov dword [esp + 0xe8], ecx
call fcn.0054e080
mov cx, word [esp + 0xe4]
add esp, 8
cmp byte [esp + 0x1b], 0
jne 0x52b394
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x52b4b7
xor eax, eax
xor ebp, ebp
xor edi, edi
cmp ax, word [esi + 0x32]
jae 0x52b4ca
xor ebx, ebx
jmp 0x52b3c0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x2c]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x52b3de
cwde
xor ecx, ecx
cmp dword [edx + eax*4], ecx
setge cl
jmp 0x52b466
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], 0x4c2580
mov dword [esp + 0x12c], edx
test ecx, ecx
je 0x52b44f
push ecx
lea eax, [esp + 0x118]
push eax
call fcn.0054e080
mov ax, word [esp + 0x130]
add esp, 8
cmp byte [esp + 0x1b], 0
jne 0x52b45e
mov ecx, 0xfffd
and ax, cx
xor ecx, ecx
test ax, ax
setne cl
test ecx, ecx
jne 0x52b480
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x52b3c0
mov ebx, dword [esp + 0x24]
jmp 0x52b4ca
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 0x52b4c6
cmp byte [esi + 0x36], 5
jne 0x52b4c6
mov dword [esp + 0x90], 1
jmp 0x52b4c6
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 0x52b4d6
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 0x52b2f2
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 0x52b526
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 0x52b537
mov eax, dword [esp + 0x10]
or dword [eax + 0xa0], 0x10
cmp dword [esp + 0x5c], 0
jne 0x52b546
test ebp, ebp
jne 0x52b546
xor ebx, ebx
jmp 0x52b54b
mov ebx, 1
mov esi, dword [edi + 0x74]
test esi, esi
jne 0x52b554
mov esi, edi
mov ecx, dword [esp + 0x54]
mov edi, 1
mov eax, dword [esi + 0x54]
shl edi, cl
test edi, eax
jne 0x52b579
or eax, edi
mov dword [esi + 0x54], eax
cmp ecx, 1
jne 0x52b579
push esi
call fcn.0051c4f0
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 0x52b606
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 0x52b5c0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x52b5c0
test ebp, ebp
je 0x52b5d7
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 0x52b5e6
test eax, eax
jne 0x52b5e6
test ebp, ebp
je 0x52b5f0
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 0x52b630
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 0x52b68d
test eax, eax
je 0x52b671
push dword [esp + 0x14]
push dword [esp + 0x98]
push dword [esp + 0xa0]
push dword [esp + 0x40]
push esi
push edi
call fcn.0051b8c0
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.00523ea0
add esp, 8
test eax, eax
jne 0x52b12a
cmp byte [esi + 0x2b], 1
jne 0x52b6cc
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.00546830
mov edi, dword [esp + 0x4c]
add esp, 0x20
jmp 0x52b139
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 0x52b78a
cmp dword [ecx + 0x78], 0
jne 0x52b78a
cmp byte [ecx + 0x12], 0
jne 0x52b78a
cmp byte [ecx + 0x95], 0
jne 0x52b78a
cmp dword [esp + 0x150], 0
mov ebp, dword [esp + 0x10]
jne 0x52b78e
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 0x52b74e
push 0
push edx
push 0
push 0x47
push ebp
call fcn.004e2c80
mov ecx, dword [esp + 0x148]
add esp, 0x14
jmp 0x52b78e
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 0x52b78e
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
jne 0x52b86e
test byte [esi + 0x1c], 0x80
jne 0x52b86e
mov ecx, dword [ebp + 0x74]
cmp dword [ebp + 0x78], ecx
jg 0x52b7c2
push dword [esp + 0x28]
push dword [esp + 0x7c]
push 0
push 0x4a
push ebp
call fcn.004e2c80
add esp, 0x14
jmp 0x52b7f5
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 0x52b836
push dword [esp + 0x78]
push 0
push ecx
push 0x74
push ebp
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x88], eax
jmp 0x52ba69
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 0x52ba70
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x52b87c
movzx ebx, word [eax + 0x32]
jmp 0x52b87e
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 0x52ba2d
cmp dword [esp + 0x68], 0
je 0x52b8c1
movsx eax, word [esi + 0x22]
jmp 0x52b8c3
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 0x52b92e
mov ecx, dword [ebp + 0x74]
dec edx
add edx, edi
cmp dword [ebp + 0x78], ecx
jg 0x52b8fb
push edx
push dword [esp + 0x5c]
push 0
push 0x4a
push ebp
call fcn.004e2c80
add esp, 0x14
jmp 0x52b92e
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 0x52b958
push 0
push esi
push dword [esp + 0x28]
push 0x74
push ebp
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x88], eax
jmp 0x52b987
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 0x52b9d6
push eax
push dword [esp + 0x138]
call fcn.00519ed0
mov edx, eax
add esp, 8
test edx, edx
je 0x52b9d2
mov word [edx + 8], si
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x52b9c0
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x52b9d2
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 0x52bac7
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.00546360
mov ecx, dword [esp + 0x154]
add esp, 0x20
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x58]
je 0x52ba2d
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x30], 0
je 0x52ba65
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x52ba3d
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 0x52bede
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x134]
cmp dword [esp + 0x150], 0
je 0x52bac7
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.0050ad40
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 0x52bb9d
mov ecx, dword [esp + 0x134]
mov eax, 4
cmp byte [ecx + 0x12], 0
jne 0x52bafd
cmp dword [esp + 0x5c], 0
jne 0x52bafd
cmp dword [esp + 0x60], 0
jne 0x52bafd
cmp byte [esp + 0x74], 0
jne 0x52bafd
cmp dword [esp + 0x90], 0
jne 0x52bafd
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.0053ca00
add esp, 0x20
mov dword [esp + 0xb4], eax
test eax, eax
je 0x52b12a
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 0x52bb9d
mov ecx, dword [esp + 0x134]
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x52bb69
mov eax, ecx
mov byte [eax + 0x14], 1
cmp esi, 2
jne 0x52bb9d
test edi, edi
js 0x52bb9d
mov ecx, dword [esp + 0x14]
cmp edi, ecx
je 0x52bba1
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 0x52bcd2
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x52bbd9
push 0
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 0x86
push edx
call fcn.004e2c80
mov edx, dword [esp + 0x24]
add esp, 0x14
jmp 0x52bc13
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 0x52bc87
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 0x52bc4f
push dword [esp + 0x28]
push dword [esp + 0x7c]
push dword [esp + 0x28]
push 0x7f
push edx
call fcn.004e2c80
add esp, 0x14
jmp 0x52bede
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 0x52bede
mov eax, dword [esp + 0x88]
test eax, eax
je 0x52bede
mov edx, dword [edx]
cmp byte [edx + 0x57], 0
jne 0x52bede
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.004cfa50
add esp, 0xc
mov word [esi], 0xb6
mov dword [esi + 0x10], 0
jmp 0x52beda
mov eax, dword [esp + 0xac]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x52bd22
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.00508170
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x52bcf0
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x52bd80
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x52bd6c
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
cmp byte [edx + 0x57], 0
jne 0x52bd6c
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.004cfa50
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 0x52bede
push dword [esp + 0x3c]
push dword [esp + 0x50]
call fcn.00517e10
mov ecx, dword [esp + 0x18]
add esp, 8
mov esi, eax
mov edx, dword [ecx + 0x74]
cmp dword [ecx + 0x78], edx
jg 0x52bdb6
push dword [esp + 0x48]
push ebx
push dword [esp + 0x60]
push 0x60
push ecx
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x52bded
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 0x52be0b
cmp ebx, 0xfffffff4
je 0x52be57
push esi
push ebx
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x52be57
test edx, edx
jns 0x52be13
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 0x52be4b
cmp byte [eax + 1], 0
jne 0x52be4b
cmp ebx, 0xfffffffd
jne 0x52be37
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
jmp 0x52be57
test esi, esi
je 0x52be57
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
cmp ebx, 0xfffffff4
jne 0x52be57
inc dword [esi + 0xc]
jmp 0x52be57
push ebx
push esi
push eax
push edx
call fcn.00547a80
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x74]
cmp dword [eax + 0x78], edx
jg 0x52be85
push dword [esp + 0x58]
push dword [esp + 0x4c]
push dword [esp + 0x28]
push 0x89
push eax
call fcn.004e2c80
mov esi, dword [esp + 0x24]
add esp, 0x14
mov edx, eax
jmp 0x52bec3
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 0x52beda
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 0x52c4fb
cmp dword [esp + 0x30], 0
jne 0x52bf07
cmp esi, 2
je 0x52bf07
push dword [esp + 0xb4]
call fcn.0053f5b0
add esp, 4
cmp dword [esp + 0x68], 0
mov ebx, dword [esp + 0x24]
jne 0x52c011
xor esi, esi
test ebx, ebx
je 0x52bf42
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x80]
test ebp, ebp
js 0x52bf36
mov eax, ebp
sub eax, edx
mov byte [eax + ecx], 0
test edi, edi
js 0x52bf42
mov eax, edi
sub eax, edx
mov byte [eax + ecx], 0
cmp ebx, 2
jne 0x52bfac
mov ecx, dword [esp + 0x64]
xor eax, eax
test edi, edi
setns al
sub ecx, eax
test ecx, ecx
jle 0x52bfac
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x74]
cmp dword [edx + 0x78], esi
jg 0x52bf79
push 0
push 0
push 0
push 0x11
push edx
call fcn.004e2c80
add esp, 0x14
mov esi, eax
jmp 0x52bfac
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.0051c2d0
add esp, 0x20
test esi, esi
je 0x52c011
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x74]
lea eax, [edx - 1]
cmp esi, eax
jne 0x52bfec
mov dword [ecx + 0x74], eax
jmp 0x52c011
test esi, esi
jns 0x52bff2
mov esi, eax
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
je 0x52c001
mov eax, 0x74c854
jmp 0x52c00e
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 0x52c162
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
cmp ebp, eax
je 0x52c047
cmp edi, eax
mov edi, dword [esp + 0x48]
je 0x52c04b
push dword [esp + 0xa0]
push edi
push esi
push eax
push 0x1e
push dword [esp + 0x24]
call fcn.0052e310
add esp, 0x18
jmp 0x52c04b
mov edi, dword [esp + 0x48]
cmp ebx, 1
je 0x52c061
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 0x52c06e
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x52c132
push 0
push esi
push edx
push 0x32
push ebx
call fcn.004e2c80
add esp, 0x14
mov edi, dword [esp + 0x134]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x1b], 0
je 0x52c5cf
test eax, eax
jne 0x52c54d
cmp dword [edi + 8], eax
je 0x52c10d
mov ebp, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0xbc]
push ebp
push edi
call fcn.005093a0
mov edx, dword [esp + 0x5c]
mov esi, eax
add esp, 0xc
cmp esi, edx
je 0x52c111
test ebp, ebp
je 0x52c0e3
test dword [ebp + 4], 0x200000
mov al, 0x4f
jne 0x52c0e5
mov al, 0x50
mov edx, dword [edi + 8]
movzx ebx, al
mov ecx, dword [edx + 0x74]
cmp dword [edx + 0x78], ecx
jg 0x52c50d
mov ebp, dword [esp + 0x50]
push 0
push ebp
push esi
push ebx
push edx
call fcn.004e2c80
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x52c5a0
push 0
push 0
push edx
push 0xf
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c5cf
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 0x52c08d
cmp dword [esp + 0x3c], 0
jne 0x52c291
cmp dword [esp + 0x30], 0
jne 0x52c291
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x52c19d
push 0
push esi
mov esi, dword [esp + 0x28]
push esi
push 0x26
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c1ce
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 0x52c210
push 0
push dword [esp + 0x2c]
push esi
push 0x86
push ebx
call fcn.004e2c80
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0xa4], eax
jmp 0x52c23f
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 0x52c25d
push edx
push ebp
push dword [esp + 0x1c]
push 0x21
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c098
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 0x52c098
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 0x52c2ca
push 0
push esi
push dword [esp + 0x28]
push 0x26
push ebx
call fcn.004e2c80
mov edx, dword [esp + 0x34]
add esp, 0x14
jmp 0x52c2f9
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 0x52c443
cmp dword [esp + 0x68], 0
jne 0x52c504
cmp dword [esp + 0x3c], 0
je 0x52c3ad
mov eax, dword [esp + 0xac]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x52c393
mov ebp, dword [esp + 0x58]
lea esp, [esp]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x52c35f
lea eax, [esi + ebp]
push eax
push esi
push edx
push 0x5d
push ebx
call fcn.004e2c80
mov edx, dword [esp + 0x34]
add esp, 0x14
jmp 0x52c38a
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 0x52c340
mov ebp, dword [esp + 0x54]
push edi
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x20]
push 0x1e
push ebx
call fcn.0052e310
add esp, 0x18
jmp 0x52c08d
mov esi, dword [esp + 0x28]
cmp dword [ebx + 0x78], ecx
jg 0x52c3ca
push 0
push esi
push edx
push 0x86
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c3f5
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 0x52c413
push esi
push ebp
push dword [esp + 0x1c]
push 0x21
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c094
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 0x52c094
mov esi, dword [esp + 0x48]
cmp dword [ebx + 0x78], ecx
jg 0x52c460
push 0
push esi
push edx
push 0x85
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c48b
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 0x52c4a8
push esi
push ebp
push dword [esp + 0x1c]
push 0x1e
push ebx
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x52c4d7
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 0x52c094
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 0x52c094
mov ebx, dword [esp + 0x10]
jmp 0x52c08d
mov esi, dword [esp + 0x20]
jmp 0x52c09c
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 0x52c111
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x6c]
cmp dword [ebx + 0x78], ecx
jg 0x52c570
mov ebp, dword [esp + 0x50]
push ebp
push edx
push esi
push 0x5d
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x52c10d
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 0x52c111
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 0x52c684
cmp dword [esp + 0x60], 0
jne 0x52c68f
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x52c835
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.00529f00
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 0x52c74f
xor ebp, ebp
mov edi, ebx
test byte [ecx + 0x1c], 0x20
mov ebx, dword [ecx + 4]
je 0x52c6ac
movzx eax, si
test ax, ax
js 0x52c6ac
movsx ecx, ax
xor edi, edi
xor edx, edx
test ecx, ecx
jle 0x52c662
lea eax, [ebx + 0xe]
mov edi, ecx
test byte [eax], 0x20
jne 0x52c65c
inc edx
add eax, 0x10
dec ecx
jne 0x52c656
mov eax, edi
add eax, eax
test byte [ebx + eax*8 + 0xe], 0x20
je 0x52c6a3
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 0x52c6af
cmp dword [esp + 0x60], 0
je 0x52c5f1
push dword [esp + 0x1c]
push edi
call fcn.0050eb90
add esp, 8
mov ebx, eax
jmp 0x52c5f3
mov edi, dword [esp + 0x64]
movzx eax, dx
jmp 0x52c6af
movzx eax, si
movsx edx, ax
add edx, dword [esp + 0xf0]
cmp edi, 0xffffffff
je 0x52c725
cmp esi, 0x20
jge 0x52c6d0
mov eax, 1
mov ecx, esi
shl eax, cl
test edi, eax
jne 0x52c725
movzx eax, word [ebx + ebp + 0xe]
test al, 1
jne 0x52c725
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x52c6f4
push 0
push edx
push 0
push 0x4a
push ebx
call fcn.004e2c80
jmp 0x52c738
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 0x52c73b
push edx
push esi
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.00508170
add esp, 0x14
mov ecx, dword [esp + 0x1c]
inc esi
add ebp, 0x10
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x52c635
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x10]
jne 0x52c783
cmp dword [esp + 0x3c], 0
jne 0x52c783
mov ecx, dword [edi + 0x74]
mov ebp, dword [esp + 0x50]
cmp dword [edi + 0x78], ecx
jg 0x52c801
push 0
push ebp
push dword [esp + 0x30]
push 0x4f
push edi
call fcn.004e2c80
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.00529f00
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 0x52c967
xor edx, edx
mov dword [esp + 0x6c], edx
movsx eax, word [eax + 0x20]
cmp ebx, eax
jne 0x52c83e
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52ca7e
push 0
push esi
push 0
push 0x4a
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52c93d
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 0x52c783
mov edi, dword [esp + 0x10]
jmp 0x52c787
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx + 0xe]
test al, 0x60
je 0x52c85c
test al, 0x20
je 0x52c93d
dec esi
jmp 0x52c93d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x52ca42
cmp dword [esp + 0x30], 0
je 0x52c8d1
cmp dword [esp + 0x68], 0
jne 0x52c883
mov ecx, dword [esp + 0xac]
movsx ecx, cx
lea edx, [ecx + eax]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52c8a4
push esi
push edx
push dword [esp + 0x28]
push 0x5d
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52c93d
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 0x52c93d
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 0x52c93d
push esi
push edi
push eax
call fcn.005093a0
mov ebp, eax
add esp, 0xc
cmp ebp, esi
je 0x52c939
test edi, edi
je 0x52c90c
test dword [edi + 4], 0x200000
mov al, 0x4f
jne 0x52c90e
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 0x52ca13
push 0
push esi
push ebp
push ebx
push edx
call fcn.004e2c80
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 0x52c7d8
mov edx, dword [esp + 0x8c]
test byte [eax + 0x1c], 0x60
mov esi, dword [esp + 0x134]
je 0x52c983
push eax
push edx
push esi
call fcn.00502ad0
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [esp + 0xc0], 1
je 0x52cbfe
push dword [esp + 0x8c]
mov edi, dword [esp + 0x14]
push eax
push edi
call fcn.00529a00
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.00501a40
add esp, 0x30
cmp dword [esp + 0x68], 0
jne 0x52cf03
cmp dword [esp + 0x3c], 0
je 0x52cb24
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x52cad5
push dword [esp + 0x48]
push ebx
push dword [esp + 0x1c]
push 0x1e
push edi
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x52cb04
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 0x52c935
test dword [esp + 0xc0], 1
je 0x52cab2
cmp ebx, 0x1f
jg 0x52cab2
mov eax, 1
mov ecx, ebx
shl eax, cl
test ebp, eax
jne 0x52cab2
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52ca7e
push 0
push esi
push 0
push 0x4a
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52c93d
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 0x52c93d
push esi
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x28]
push edi
call fcn.00508170
add esp, 0x14
mov dword [esp + 0xb0], 0
jmp 0x52c93d
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 0x52cb71
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 0x52cb71
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52cb42
push dword [esp + 0x28]
push ebx
push dword [esp + 0x1c]
push 0x21
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52cb71
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 0x52cbe5
xor ebx, ebx
mov edi, edi
mov eax, dword [ecx + 4]
movzx eax, word [eax + ebx + 0xe]
test al, 0x60
je 0x52cba3
test al, 0x20
je 0x52cbc9
dec edi
jmp 0x52cbc9
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x52cbc9
movsx eax, word [ecx + 0x20]
cmp esi, eax
je 0x52cbc9
push edi
push esi
push edx
push ecx
push dword [esp + 0x20]
call fcn.00508170
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 0x52cb90
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
test byte [ecx + 0x1c], 0x60
je 0x52cc18
push ecx
push eax
push dword [esp + 0x13c]
call fcn.00502ad0
add esp, 0xc
jmp 0x52cc14
cmp dword [esp + 0x68], 0
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x144]
jne 0x52cef9
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.00513ca0
add esp, 0x34
cmp dword [esp + 0x90], 0
jne 0x52cc70
cmp byte [esp + 0x74], 0
je 0x52cd24
cmp dword [esp + 0x3c], 0
mov edi, dword [esp + 0x10]
je 0x52cce3
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x52cc98
push dword [esp + 0x48]
push ebx
push ebp
push 0x1e
push edi
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x52ccc3
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 0x52cd28
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 0x52cd28
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52ccfb
push esi
push ebx
push ebp
push 0x21
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52cd28
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 0x52cd28
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x84]
test ebp, ebp
je 0x52cd55
push esi
push dword [esp + 0x30]
push 0
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.0050dc90
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.00516750
add esp, 0x18
cmp dword [esp + 0xb0], 0
je 0x52cda4
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52cdd5
push 0
push 0
push dword [esp + 0x1c]
push 0x8e
push edi
call fcn.004e2c80
add esp, 0x14
mov edx, dword [esp + 0x14]
cmp ebp, 1
jg 0x52cdb8
cmp byte [esp + 0x74], 0
je 0x52ce3d
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52ce0a
push 0
push 0
push edx
push 0x81
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52ce3d
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 0x52cda8
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 0x52ce5f
push esi
push dword [esp + 0x30]
push dword [esp + 0x58]
push 0
push dword [esp + 0x2c]
push dword [esp + 0x148]
call fcn.0050dc90
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.005028e0
add esp, 0x24
test ebp, ebp
je 0x52cecd
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.0050dc00
add esp, 0x18
mov ebp, dword [esp + 0x144]
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x52cf3c
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52cf09
push 0
push 1
push edx
push 0x55
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52cf3c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x52ced4
mov esi, dword [esp + 0x24]
jmp 0x52ced4
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.00501a40
add esp, 0x24
cmp esi, 1
je 0x52d030
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
cmp esi, 2
jne 0x52cfbc
add eax, dword [ecx + 0x38]
jns 0x52cfa2
push ebx
push edi
push ecx
call fcn.004f4d20
add esp, 0xc
push dword [esp + 0xb4]
call fcn.0053f5b0
add esp, 4
jmp 0x52d030
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
push dword [esp + 0xb4]
mov dword [ecx + ebx*4], eax
call fcn.0053f5b0
add esp, 4
jmp 0x52d030
add eax, dword [ecx + 0x38]
jns 0x52cfce
push ebx
push edi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x52cfd7
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 0x52cffa
mov edx, dword [esp + 0xa4]
push 0
push edx
push dword [esp + 0x28]
push 5
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x52d030
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 0x52d04e
push edx
push edi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x52d057
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
cmp byte [ebp + 0x12], 0
jne 0x52d07c
cmp dword [ebp + 0x78], 0
jne 0x52d07c
cmp dword [esp + 0x150], 0
jne 0x52d07c
cmp dword [ebp + 0x70], 0
je 0x52d07c
push ebp
call fcn.004bdf70
add esp, 4
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x52b12a
push str.rows_updated
push eax
push edi
call fcn.005011d0
jmp 0x52b127
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 0x52b139
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x13c]
mov ebx, dword [esp + 0x34]
jmp 0x52b13d
cmp edi, dword [esi + 0x164]
jae 0x52d117
cmp edi, dword [esi + 0x15c]
jb 0x52d0ff
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x52d16c
cmp edi, dword [esi + 0x160]
jb 0x52d117
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x52d16c
cmp dword [0x7475d8], 0
je 0x52d162
mov eax, dword [0x74c528]
test eax, eax
je 0x52d133
push eax
call dword [0x747628]
add esp, 4
push edi
call dword [0x747604]
sub dword [0x74c4b0], eax
dec dword [0x74c4d4]
push edi
call dword [0x7475fc]
mov eax, dword [0x74c528]
add esp, 8
test eax, eax
je 0x52d16c
push eax
call dword [0x747630]
jmp 0x52d169
push edi
call dword [0x7475fc]
add esp, 4
push dword [esp + 0x138]
push esi
call fcn.00528860
add esp, 8
test ebp, ebp
je 0x52d18a
push ebp
push esi
call fcn.004cc370
add esp, 8
test ebx, ebx
je 0x52d198
push ebx
push esi
call fcn.0050aa20
add esp, 8
mov eax, dword [esp + 0x98]
test eax, eax
je 0x52d1ad
push eax
push esi
call fcn.004cc370
add esp, 8
mov eax, dword [esp + 0x94]
test eax, eax
je 0x52d1c2
push eax
push esi
call fcn.0050aa20
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret