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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
push edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x40], eax
jne 0x4787dc
cmp byte [ecx + 0x40], al
jne 0x4787dc
mov eax, dword [ebp + 0xc]
call fcn.0045ce50
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x477477
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.0046b9c0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x8c]
push eax
push ecx
push 0x6e
mov edx, edi
mov eax, ebx
call fcn.00476650
xor edx, edx
add esp, 0xc
cmp dword [edi + 0xc], edx
mov dword [esp + 0x70], eax
setne dl
push edi
mov eax, ebx
mov dword [esp + 0x5c], edx
call fcn.00459110
add esp, 4
test eax, eax
jne 0x477477
mov eax, dword [esp + 0x8c]
push eax
mov ecx, edi
mov eax, ebx
call fcn.0045cea0
add esp, 4
test eax, eax
jne 0x477477
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x44]
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
inc eax
test byte [edi + 0x2c], 0x20
mov dword [esp + 0x6c], eax
jne 0x4770e9
mov dword [esp + 0x3c], 0
jmp 0x4770f4
mov eax, edi
call fcn.004575b0
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x47712a
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
jne 0x47711c
cmp dword [esp + 0x3c], 0
je 0x47711c
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [ecx + 0x38], edx
inc dword [esi + 0x44]
mov eax, dword [eax + 0x14]
mov edx, dword [esi + 0x44]
inc ebx
test eax, eax
jne 0x477100
movsx edx, word [edi + 0x26]
mov esi, dword [esp + 0x20]
add edx, ebx
lea eax, [ebx + edx*4 + 2]
push 0
push eax
call fcn.00420d90
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x4787d5
movsx ecx, word [edi + 0x26]
mov edx, eax
lea eax, [ebx + 1]
lea esi, [edx + ecx*4]
push eax
mov dword [esp + 0x88], esi
lea esi, [esi + ebx*4]
push 1
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
call fcn.004aaf30
xor edx, edx
xor ecx, ecx
add esp, 0xc
mov byte [esi + ebx + 1], dl
xor eax, eax
cmp cx, word [edi + 0x26]
jge 0x4771a0
mov ecx, dword [esp + 0x40]
lea ecx, [ecx]
mov dword [ecx + eax*4], 0xffffffff
movsx esi, word [edi + 0x26]
inc eax
cmp eax, esi
jl 0x477190
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], edx
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x2b], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x30], edx
jle 0x47740f
mov dword [esp + 0x38], edx
jmp 0x477210
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + edx]
lea esi, [esp + 0xa0]
call fcn.0044cfb0
test eax, eax
jne 0x477477
movsx eax, word [edi + 0x26]
xor esi, esi
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4772f6
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
mov edi, dword [ecx + 4]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [eax + ecx + 4]
add eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], edx
mov ecx, dword [edi]
mov al, byte [ecx]
mov edx, dword [esp + 0x34]
test al, al
je 0x47728d
mov edi, edi
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x4cf738]
cmp al, byte [ebx + 0x4cf738]
jne 0x47728d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x477270
movzx ecx, byte [ecx]
movzx eax, byte [ecx + 0x4cf738]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x4cf738]
sub eax, edx
je 0x4772b1
inc esi
add edi, 0x18
cmp esi, dword [esp + 0x24]
jl 0x477262
jmp 0x4772f2
mov eax, dword [esp + 0x1c]
movsx ecx, word [eax + 0x24]
cmp esi, ecx
jne 0x4772ce
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov byte [esp + 0xf], 1
mov dword [esp + 0x48], eax
jmp 0x4772e7
cmp dword [esp + 0x3c], 0
je 0x4772e7
mov eax, dword [eax + 4]
lea ecx, [esi + esi*2]
test byte [eax + ecx*8 + 0x17], 1
je 0x4772e7
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov dword [edx + esi*4], eax
mov edi, dword [esp + 0x1c]
movsx ecx, word [edi + 0x26]
cmp esi, ecx
jl 0x4773a6
cmp dword [esp + 0x3c], 0
jne 0x477451
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + eax + 4]
lea edi, [ecx + eax]
mov cl, byte [esi]
mov eax, esi
mov edx, str._ROWID_
test cl, cl
je 0x47734d
jmp 0x477330
movzx ebx, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x4cf738]
cmp cl, byte [ebx + 0x4cf738]
jne 0x47734d
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x477330
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x4cf738]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x4cf738]
sub eax, ecx
je 0x47738d
push str.ROWID
push esi
call fcn.00423340
add esp, 8
test eax, eax
je 0x47738d
push 0x4d7910
push esi
call fcn.00423340
add esp, 8
test eax, eax
jne 0x477451
mov ecx, dword [edi]
mov edi, dword [esp + 0x1c]
or esi, 0xffffffff
mov byte [esp + 0xf], 1
mov dword [esp + 0x48], ecx
mov eax, str.ROWID
jmp 0x4773ba
test esi, esi
jge 0x4773b1
mov eax, str.ROWID
jmp 0x4773ba
mov eax, dword [edi + 4]
lea edx, [esi + esi*2]
mov eax, dword [eax + edx*8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov edx, dword [edi]
push ecx
push eax
mov eax, dword [ebp + 8]
push edx
push 0x17
call fcn.004562d0
add esp, 0x10
cmp eax, 1
je 0x47747b
cmp eax, 2
jne 0x4773f6
mov eax, dword [esp + 0x40]
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
add dword [esp + 0x38], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x30], eax
jl 0x477210
mov eax, dword [ebp + 0xc]
mov cl, byte [esp + 0x2b]
add cl, byte [esp + 0xf]
xor edx, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test dword [eax + 0x18], 0x80000
mov byte [esp + 0x54], cl
je 0x4774c0
mov edx, dword [esp + 0x40]
movzx ecx, cl
push ecx
push edx
mov ebx, edi
call fcn.00462660
add esp, 8
mov dword [esp + 0x5c], eax
jmp 0x4774c4
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 8]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 + 4]
push edx
push str.no_such_column:__s
call fcn.004231b0
add esp, 8
mov byte [edi + 0x11], 1
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x477493
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1ec], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x478812
test ebx, ebx
je 0x478809
cmp dword [ebx + 0x208], 0
je 0x4787e3
mov ecx, ebx
call fcn.00420ae0
jmp 0x478812
mov dword [esp + 0x5c], edx
mov ebx, dword [edi + 8]
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x47755b
mov esi, dword [esp + 0x40]
jmp 0x4774e0
cmp byte [esp + 0x54], 0
mov eax, dword [ebp + 8]
jne 0x47752a
cmp dword [esp + 0x5c], 0
jne 0x47752a
cmp dword [ebx + 0x24], 0
jne 0x47752a
cmp ebx, dword [esp + 0x3c]
je 0x47752a
movzx eax, word [ebx + 0x32]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x34], edx
test eax, eax
jle 0x477534
mov edx, dword [ebx + 4]
movsx edi, word [edx]
cmp dword [esi + edi*4], 0
jge 0x477527
inc ecx
add edx, 2
cmp ecx, eax
jl 0x477510
mov edx, dword [esp + 0x34]
jmp 0x477534
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x477541
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov byte [ecx + eax + 1], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov dword [ecx + eax*4], edx
mov ebx, dword [ebx + 0x14]
inc eax
mov dword [esp + 0x38], eax
test ebx, ebx
jne 0x4774e0
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
test edi, edi
jne 0x477623
mov esi, dword [ebx]
push edi
push 0xd0
call fcn.00420d90
mov edi, eax
add esp, 8
test edi, edi
je 0x4776d0
push 0xd0
push 0
push edi
call fcn.004aaf30
mov dword [edi], esi
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x47759f
mov dword [eax + 0x30], edi
mov edx, dword [esi + 4]
mov dword [edi + 0x34], edx
mov dword [edi + 0x30], 0
mov dword [esi + 4], edi
mov dword [edi + 0x28], 0x26bceaa5
mov dword [edi + 0x18], ebx
xor ecx, ecx
mov dword [ebx + 8], edi
cmp edi, ecx
je 0x477607
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x34], eax
jg 0x4775e4
push edi
call fcn.0043c840
add esp, 4
xor ecx, ecx
test eax, eax
jne 0x477607
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x99
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
cmp dword [ebx + 0x198], ecx
jne 0x47761b
mov eax, dword [ebx]
test byte [eax + 0x3c], 8
jne 0x47761b
mov byte [ebx + 0x17], 1
cmp edi, ecx
je 0x477477
cmp byte [ebx + 0x12], 0
jne 0x47762d
or dword [edi + 0x58], 0x10
mov eax, dword [ebx + 0x198]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x477641
mov dword [esp + 0x34], ebx
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x14c]
mov esi, 1
shl esi, cl
test edx, esi
jne 0x477687
mov ecx, esi
or ecx, edx
mov edx, dword [eax]
mov dword [eax + 0x14c], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [edx + ecx + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x150], edx
cmp ecx, 1
jne 0x477687
call fcn.0045b830
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
or dword [eax + 0x148], esi
or byte [eax + 0x14], 1
test byte [ecx + 0x2c], 0x10
je 0x4776d7
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call fcn.00478a00
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x477477
xor edi, edi
jmp 0x4775b9
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x30], eax
inc eax
cmp byte [esp + 0x2b], 0
mov dword [ebx + 0x48], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
jne 0x477700
cmp dword [esp + 0x70], 0
jne 0x477700
cmp dword [esp + 0x5c], 0
je 0x477710
lea edx, [eax + 1]
mov dword [esp + 0x78], edx
movsx edx, word [ecx + 0x26]
add edx, eax
mov dword [ebx + 0x48], edx
cmp byte [esp + 0x54], 0
jne 0x477725
cmp dword [esp + 0x70], 0
jne 0x477725
cmp dword [esp + 0x5c], 0
je 0x47772f
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x34], edx
movsx edx, word [ecx + 0x26]
add edx, eax
cmp dword [esp + 0x58], 0
mov dword [ebx + 0x48], edx
je 0x477778
mov eax, dword [ebx + 0x1ec]
mov edx, dword [ecx]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [ebx + 0x1ec], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push ebx
mov dword [esp + 0xac], ebx
call fcn.0045cf30
add esp, 0x10
mov ebx, dword [ebp + 0x14]
lea esi, [esp + 0xa0]
call fcn.0044cfb0
test eax, eax
jne 0x477477
mov eax, dword [esp + 0x1c]
test byte [eax + 0x2c], 0x20
jne 0x477870
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x4777b5
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x4777e2
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ebx, ebx
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4777e4
xor ebx, ebx
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 4
push ebx
push ebx
push ecx
push edx
push eax
call fcn.00482450
add esp, 0x1c
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x477477
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x67
mov esi, edi
mov dword [esp + 0x44], eax
call fcn.0043c9d0
xor ebx, ebx
add esp, 0xc
cmp dword [esp + 0x38], ebx
jne 0x47785e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x80
call fcn.0043c9d0
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
call fcn.00482d60
add esp, 4
jmp 0x477a5b
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax + 0x32]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
movsx ecx, cx
lea eax, [ecx + eax + 1]
mov dword [ebx + 0x48], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x44], eax
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
jg 0x4778ba
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x4778e1
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov byte [eax], 0x1c
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push eax
push ecx
push 0x39
mov esi, edi
call fcn.0043c9d0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, ebx
call fcn.0043d1a0
mov edx, dword [esp + 0x6c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
push 4
push 0
push 0
push eax
push ecx
push ebx
call fcn.00482450
add esp, 0x1c
mov dword [esp + 0x24], eax
test eax, eax
je 0x477477
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x90], edx
movzx edx, byte [eax + 0x26]
xor esi, esi
cmp dword [esp + 0x10], esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x38], edx
jle 0x47797e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
movsx ebx, word [edx + esi*2]
add eax, esi
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00450570
inc esi
add esp, 0x10
cmp esi, dword [esp + 0x10]
jl 0x477952
cmp dword [esp + 0x38], 0
je 0x4779dc
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edi + 0x20]
jge 0x4779c4
mov eax, dword [edi + 4]
lea edx, [ebx + ebx*4]
mov ecx, dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx eax, byte [esi + 1]
mov edx, dword [edi]
call fcn.0043cf00
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9a
mov eax, dword [edi + 0x20]
dec eax
cmp ebx, eax
jne 0x4779c4
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], edx
jmp 0x477a4c
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
push ebx
push ecx
mov eax, edi
call fcn.00463690
mov ecx, dword [esp + 0x34]
add esp, 4
push eax
mov eax, dword [esp + 0x68]
push eax
push ebx
push ecx
push 0x31
mov esi, edi
call fcn.0043ca30
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
add esp, 0x18
cmp dword [edx + 0x54], esi
jg 0x477a20
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477a4c
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x74]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6e
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x24]
push edx
call fcn.00482d60
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x20]
test byte [eax + 0x18], 0x80
je 0x477a8d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], ebx
jne 0x477a8d
mov eax, ecx
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
push ebx
push 0x19
mov esi, edi
mov dword [esp + 0x94], eax
call fcn.0043c9d0
add esp, 0xc
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
test eax, edx
jne 0x477acf
lea ecx, [eax*8 + 4]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00420ee0
mov edx, dword [esp + 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
cmp ecx, ebx
je 0x477add
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x58], ebx
jne 0x477b7b
mov ecx, 5
cmp dword [ebp + 0x18], ecx
jne 0x477b10
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
push eax
push 1
push esi
call fcn.004aaf30
add esp, 0xc
jmp 0x477b30
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x477b2c
jmp 0x477b20
cmp byte [eax + 0x36], cl
je 0x477afa
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x477b20
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x38], ebx
je 0x477b5a
mov eax, dword [esp + 0x90]
cmp eax, ebx
jl 0x477b48
sub eax, dword [esp + 0x50]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x94]
cmp eax, ebx
jl 0x477b5a
sub eax, dword [esp + 0x50]
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push ebx
push ebx
push esi
push ecx
push 0x37
push edx
push eax
call fcn.00466b00
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
jmp 0x477b7f
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x38], ebx
je 0x477c16
sub esi, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
cmp byte [esi + eax], bl
je 0x477bb9
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
push 0x44
mov eax, edi
call fcn.0043cb70
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x3c], ebx
je 0x477bcd
mov edx, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
jmp 0x477bd5
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x477bf1
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477dc2
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x4c
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
jmp 0x477db9
cmp dword [esp + 0x3c], ebx
je 0x477d2a
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
test eax, edx
jne 0x477c62
lea ecx, [eax*8 + 4]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00420ee0
mov edx, dword [esp + 0x58]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
cmp ecx, ebx
je 0x477c70
mov dword [ecx + eax*4], 0xffffffff
mov esi, dword [edi + 0x20]
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], ecx
jg 0x477c91
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477cba
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x6c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x477cd9
push edi
call fcn.0043c840
add esp, 4
test eax, eax
je 0x477cd9
mov esi, 1
jmp 0x477d02
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov byte [eax], 0x65
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push ebx
push eax
push ecx
push edx
push 0x44
mov eax, edi
mov dword [esp + 0x90], esi
call fcn.0043cb70
add esp, 0x14
jmp 0x477dc2
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x477d4c
push edi
call fcn.0043c840
add esp, 4
test eax, eax
je 0x477d4c
mov dword [esp + 0x2c], 1
jmp 0x477d7d
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x81
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x477d95
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477dc2
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 3], bl
cmp byte [esp + 0xf], bl
je 0x477e59
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x477dec
cmp byte [eax], 0x9f
jne 0x477dec
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
push ecx
push edx
push 0x21
jmp 0x477e14
mov esi, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004507d0
add esp, 0xc
cmp eax, esi
je 0x477e1c
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
cmp esi, ebx
je 0x477e1c
mov ecx, dword [esp + 0x64]
push ecx
push eax
push 0x22
call fcn.0043c9d0
add esp, 0xc
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x477e34
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477e59
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x26
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp byte [esp + 0x2b], bl
jne 0x477eb5
cmp dword [esp + 0x5c], ebx
jne 0x477ebb
cmp dword [esp + 0x70], ebx
je 0x477fbf
mov dword [esp + 0x48], ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
push edx
push 3
push ebx
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ebx, esi
call fcn.00476e80
mov edx, dword [esp + 0x5c]
or edx, eax
xor eax, eax
add esp, 0x14
xor ebx, ebx
cmp ax, word [esi + 0x26]
mov dword [esp + 0x48], edx
jge 0x477f6e
mov dword [esp + 0x50], ebx
jmp 0x477ed8
cmp dword [esp + 0x5c], ebx
je 0x477e6f
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00462580
add esp, 8
mov dword [esp + 0x48], eax
jmp 0x477e73
mov edx, dword [esp + 0x48]
mov esi, eax
cmp edx, 0xffffffff
je 0x477f41
cmp ebx, 0x20
jge 0x477eef
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x477f41
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x50]
test byte [ecx + edx + 0x17], 1
jne 0x477f41
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x477f15
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477f58
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x78]
xor ecx, ecx
add edx, ebx
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x477f58
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
lea ecx, [ebx + eax]
push ecx
push edx
push esi
push edi
call fcn.00450570
add esp, 0x10
mov eax, dword [esp + 0x1c]
movsx ecx, word [eax + 0x26]
add dword [esp + 0x50], 0x18
inc ebx
cmp ebx, ecx
jl 0x477ed2
cmp byte [esp + 0xf], 0
jne 0x477fbf
cmp dword [esp + 0x3c], 0
jne 0x477fbf
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x477f94
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x477fbf
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov byte [eax], 0x21
mov byte [eax + 3], cl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x74]
push 1
push 1
push ecx
push edx
mov ebx, esi
call fcn.00476e80
mov dword [esp + 0x8c], eax
xor ebx, ebx
xor eax, eax
add esp, 0x14
cmp ax, word [esi + 0x26]
mov dword [esp + 0x30], ebx
jge 0x4781ae
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x24]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x478138
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
cmp eax, ebx
jl 0x478117
mov edx, dword [ebp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*8]
cmp eax, ebx
je 0x478099
cmp byte [eax], 0x9f
jne 0x478099
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x47806b
push esi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47818f
mov eax, dword [esp + 0x14]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x21
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x47818f
mov esi, dword [esp + 0x24]
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004507d0
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp eax, esi
je 0x47818f
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
cmp esi, ebx
je 0x47818f
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x4780e9
push esi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47818f
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x22
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x47818f
test dword [esp + 0x8c], 1
je 0x478177
cmp ecx, 0x1f
jg 0x478177
mov esi, dword [esp + 0x78]
mov eax, 1
shl eax, cl
test esi, eax
jne 0x478177
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x478150
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47818f
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x47818f
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push edi
mov ebx, ecx
call fcn.00450570
add esp, 0x10
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
movsx edx, word [ecx + 0x26]
inc dword [esp + 0x24]
inc eax
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x478002
mov esi, ecx
test byte [esp + 0x8c], 1
je 0x4782be
mov eax, dword [esp + 0x34]
push eax
mov eax, esi
mov ecx, edi
call fcn.00463710
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x48]
add esp, 4
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push ecx
push 0x6e
push edx
push eax
call fcn.00476e10
add esp, 0x24
cmp dword [esp + 0x3c], ebx
je 0x478220
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push 0x44
mov eax, edi
call fcn.0043cb70
add esp, 0x14
jmp 0x47826d
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x478240
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47826d
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
xor eax, eax
xor ecx, ecx
cmp cx, word [esi + 0x26]
mov dword [esp + 0x30], eax
jge 0x4782be
jmp 0x478280
mov edx, dword [esp + 0x40]
cmp dword [edx + eax*4], ebx
jge 0x4782b1
movsx ecx, word [esi + 0x24]
cmp eax, ecx
je 0x4782b1
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
add edx, ebx
push edx
push eax
push esi
push edi
call fcn.00450570
mov eax, dword [esp + 0x40]
add esp, 0x10
xor ebx, ebx
movsx ecx, word [esi + 0x26]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x478280
cmp dword [esp + 0x58], ebx
jne 0x4784de
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x84], ebx
call fcn.004653e0
add esp, 0x2c
cmp dword [esp + 0x5c], ebx
je 0x478333
movzx eax, byte [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push esi
push eax
call fcn.00461fe0
add esp, 0x18
cmp dword [esp + 0x58], ebx
jne 0x478343
cmp byte [esp + 0x54], bl
je 0x4783c5
cmp dword [esp + 0x3c], ebx
je 0x47836e
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebx
push eax
push 0x44
mov eax, edi
call fcn.0043cb70
add esp, 0x14
mov dword [esp + 0x48], eax
jmp 0x4783c5
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], ecx
mov dword [esp + 0x14], ecx
jg 0x478398
push edi
call fcn.0043c840
add esp, 4
test eax, eax
je 0x478394
mov dword [esp + 0x48], 1
jmp 0x4783c5
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov eax, esi
call fcn.0045dca0
add esp, 0x10
cmp dword [esp + 0x5c], ebx
jne 0x4783f7
cmp byte [esp + 0x54], bl
jne 0x4783f7
cmp dword [esp + 0x3c], ebx
je 0x47843c
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x478413
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47843c
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x5f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x58], ebx
jne 0x478448
cmp byte [esp + 0x54], bl
je 0x478467
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jbe 0x47845d
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
dec ecx
mov dword [edx + 0x58], ecx
cmp dword [esp + 0x5c], ebx
je 0x47848b
movzx eax, byte [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push esi
push eax
call fcn.00461fe0
add esp, 0x18
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
push ebx
push ebx
push 1
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.004667f0
add esp, 0x24
cmp dword [esp + 0x5c], ebx
je 0x4784de
movzx eax, byte [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.00463470
add esp, 0x10
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x18], 0x80
je 0x478540
mov edx, dword [ebp + 8]
cmp dword [edx + 0x19c], ebx
jne 0x478540
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x478513
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x478540
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x88]
mov ecx, 1
add dword [edi + 0x20], ecx
mov byte [eax], 0x25
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [ebp + 8]
push esi
push 2
push eax
push 0x6e
push ecx
push edx
call fcn.00476e10
add esp, 0x24
cmp dword [esp + 0x38], ebx
jne 0x478621
mov ecx, dword [edi + 0x18]
cmp dword [esp + 0x3c], ebx
je 0x4785df
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
js 0x478599
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x478599
mov ecx, dword [edi + 0x20]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x20]
dec edx
mov dword [ecx + 0x58], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x4785c0
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x478621
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x74]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x7c]
mov byte [eax], 9
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x478615
mov eax, dword [edi + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x14], eax
jg 0x4785fc
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x478621
mov eax, dword [esp + 0x14]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 3], bl
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
js 0x478642
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x478642
mov ecx, dword [edi + 0x20]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
mov edx, 1
sub eax, edx
mov dword [ecx + 0x58], eax
mov esi, dword [esi + 8]
mov dword [esp + 0x7c], esi
cmp esi, ebx
je 0x4786cc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
cmp byte [ecx], bl
je 0x4786b5
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x478690
push edi
call fcn.0043c840
add esp, 4
mov edx, 1
test eax, eax
jne 0x4786b5
mov eax, dword [edi + 4]
add dword [edi + 0x20], edx
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax], 0x3d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
add dword [esp + 0x58], edx
add dword [esp + 0x34], edx
mov dword [esp + 0x7c], eax
cmp eax, ebx
jne 0x47866b
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x6c]
jge 0x478718
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4786f3
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x478718
mov edx, 1
add dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x3d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], bl
jne 0x478736
cmp dword [eax + 0x19c], ebx
jne 0x478736
mov edx, eax
push edx
call fcn.00463d40
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x18], 0x80
je 0x4787dc
cmp dword [eax + 0x19c], 0
jne 0x4787dc
cmp byte [eax + 0x12], 0
jne 0x4787dc
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x478773
push edi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x4787a2
mov ecx, dword [edi + 4]
mov edx, 1
add dword [edi + 0x20], edx
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x88]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x23
mov byte [eax + 3], cl
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
push 1
mov ebx, edi
call fcn.0043e160
mov edx, dword [edi]
add esp, 4
cmp byte [edx + 0x40], 0
jne 0x477477
mov ecx, dword [edi + 0x10]
push 1
push 0xffffffffffffffff
xor eax, eax
mov ebx, str.rows_updated
call fcn.0043be80
add esp, 8
jmp 0x477477
mov ebx, esi
jmp 0x47747b
mov ebx, ecx
jmp 0x47747b
cmp eax, dword [ebx + 0x114]
jb 0x478809
cmp eax, dword [ebx + 0x118]
jae 0x478809
mov edx, dword [ebx + 0x110]
mov dword [eax], edx
dec dword [ebx + 0xfc]
mov dword [ebx + 0x110], eax
jmp 0x478812
push eax
call fcn.00420a40
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, ebx
call fcn.0045b240
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push ebx
call fcn.0044eb50
mov eax, dword [ebp + 0x14]
add esp, 8
test eax, eax
je 0x4789ed
test dword [eax + 4], 0x4000
jne 0x478990
mov esi, dword [esp + 0x20]
mov edi, eax
mov edx, dword [edi + 0xc]
push edx
push esi
call fcn.0044de10
mov eax, dword [edi + 0x10]
push eax
push esi
call fcn.0044de10
add esp, 0x10
test dword [edi + 4], 0x10000
je 0x4788b7
mov eax, dword [edi + 8]
test eax, eax
je 0x4788b7
test esi, esi
je 0x4788ae
cmp dword [esi + 0x208], 0
je 0x478888
mov ecx, esi
call fcn.00420ae0
jmp 0x4788b7
cmp eax, dword [esi + 0x114]
jb 0x4788ae
cmp eax, dword [esi + 0x118]
jae 0x4788ae
mov ecx, dword [esi + 0x110]
mov dword [eax], ecx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
jmp 0x4788b7
push eax
call fcn.00420a40
add esp, 4
test dword [edi + 4], 0x800
je 0x478983
mov edx, dword [ebp + 0x14]
mov edi, dword [edx + 0x14]
test edi, edi
je 0x478990
mov eax, dword [edi]
push eax
push esi
call fcn.0044eb50
mov ecx, dword [edi + 0x20]
push ecx
mov eax, esi
call fcn.0045b240
mov edx, dword [edi + 0x24]
add esp, 0xc
push edx
push esi
call fcn.0044de10
mov eax, dword [edi + 0x28]
push eax
push esi
call fcn.0044eb50
mov ecx, dword [edi + 0x2c]
push ecx
push esi
call fcn.0044de10
mov edx, dword [edi + 0x30]
push edx
push esi
call fcn.0044eb50
mov eax, dword [edi + 0x34]
push eax
push esi
call fcn.0046c450
mov ecx, dword [edi + 0x3c]
push ecx
push esi
call fcn.0044de10
mov edx, dword [edi + 0x40]
push edx
push esi
call fcn.0044de10
mov ebx, dword [edi + 0x44]
add esp, 0x38
call fcn.0045c420
test esi, esi
je 0x478978
mov ecx, esi
cmp dword [ecx + 0x208], 0
je 0x478952
mov eax, edi
call fcn.00420ae0
jmp 0x478990
cmp edi, dword [ecx + 0x114]
jb 0x478978
cmp edi, dword [ecx + 0x118]
jae 0x478978
mov eax, dword [ecx + 0x110]
mov dword [edi], eax
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], edi
jmp 0x478990
push edi
call fcn.00420a40
add esp, 4
jmp 0x478990
mov ecx, dword [edi + 0x14]
push ecx
push esi
call fcn.0044eb50
add esp, 8
mov eax, dword [ebp + 0x14]
test dword [eax + 4], 0x8000
jne 0x4789ed
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4789e4
cmp dword [ecx + 0x208], 0
je 0x4789b9
call fcn.00420ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [ecx + 0x114]
jb 0x4789e4
cmp eax, dword [ecx + 0x118]
jae 0x4789e4
mov edx, dword [ecx + 0x110]
mov dword [eax], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00420a40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret