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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], edx
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 0x90], 0
mov dword [esp + 0x1c], 0
cmp dword [edi + 0x44], 0
mov eax, dword [edi]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x60], 0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0x50], eax
jne 0x478cda
cmp byte [eax + 0x45], 0
jne 0x478cda
call fcn.0045c710
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x478cda
mov ecx, dword [edi]
mov edx, dword [esi + 0x40]
call fcn.0046b670
mov dword [esp + 0x2c], eax
mov edx, esi
lea eax, [esp + 0x74]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x6e
call fcn.00477cc0
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.00458060
test eax, eax
jne 0x478cda
push dword [esp + 0x74]
mov edx, esi
mov ecx, edi
call fcn.0045c7b0
add esp, 4
test eax, eax
jne 0x478cda
mov eax, dword [edi + 0x48]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [ecx + 0x38], eax
inc eax
inc dword [edi + 0x48]
test byte [esi + 0x2a], 0x20
mov edx, dword [edi + 0x48]
mov dword [esp + 0x70], eax
jne 0x478942
mov dword [esp + 0x34], 0
jmp 0x47894d
mov ecx, esi
call fcn.00456280
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
xor esi, esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47898b
nop word [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x47897d
cmp dword [esp + 0x34], 0
je 0x47897d
mov eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov dword [edx + 0x38], eax
inc dword [edi + 0x48]
inc esi
mov ecx, dword [ecx + 0x14]
mov edx, dword [edi + 0x48]
test ecx, ecx
jne 0x478960
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x50]
push 0
movsx eax, word [edi + 0x22]
add eax, esi
lea eax, [eax*4 + 2]
add eax, esi
push eax
call fcn.00418890
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x478cda
movsx eax, word [edi + 0x22]
lea eax, [ecx + eax*4]
lea ecx, [eax + esi*4]
mov dword [esp + 0x8c], eax
lea eax, [esi + 1]
mov dword [esp + 0x64], ecx
push eax
push 1
push ecx
mov dword [esp + 0xa4], eax
call fcn.004a35f0
mov eax, dword [esp + 0x70]
add esp, 0xc
xor ecx, ecx
mov byte [eax + esi + 1], 0
xor eax, eax
cmp ax, word [edi + 0x22]
jge 0x478a14
nop dword [eax]
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x478a00
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0xc]
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xb4], eax
xor al, al
cmp dword [ecx], 0
movaps xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xb0], esi
mov byte [esp + 0x10], 0
mov byte [esp + 0x1b], al
mov dword [esp + 0x3c], 0
jle 0x478c9b
xor edi, edi
mov dword [esp + 0x40], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0xb0]
mov edx, dword [edi + edx]
call fcn.0044afc0
test eax, eax
jne 0x478cda
mov edx, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x48], esi
movsx eax, word [edx + 0x22]
test eax, eax
jle 0x478b73
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 4]
add eax, edi
mov dword [esp + 0x5c], eax
mov edi, dword [eax + 4]
mov eax, ecx
mov dword [esp + 0x4c], edi
nop
mov esi, dword [eax]
movzx eax, byte [edi]
mov dl, byte [esi]
movzx ecx, byte [eax + 0x4f9580]
movzx eax, dl
movzx eax, byte [eax + 0x4f9580]
sub eax, ecx
jne 0x478afb
sub edi, esi
nop
test dl, dl
je 0x478af3
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x4f9580]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x4f9580]
sub eax, ecx
je 0x478ad0
jmp 0x478af7
test eax, eax
je 0x478b1d
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
inc esi
add eax, 0x10
mov dword [esp + 0x48], esi
movsx ecx, word [edx + 0x22]
mov dword [esp + 0x30], eax
cmp esi, ecx
jl 0x478ab0
jmp 0x478b6f
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x48]
movsx eax, word [edx + 0x20]
cmp esi, eax
jne 0x478b3e
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x1b], 1
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
jmp 0x478b64
cmp dword [esp + 0x34], 0
je 0x478b64
mov ecx, dword [edx + 4]
mov eax, esi
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
mov ecx, 1
mov eax, dword [esp + 0x10]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [ecx + esi*4], eax
mov edi, dword [esp + 0x40]
movsx eax, word [edx + 0x22]
cmp esi, eax
jl 0x478c22
cmp dword [esp + 0x34], 0
jne 0x478cb3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add edi, eax
mov dword [esp + 0x6c], edi
mov ecx, dword [edi + 4]
mov esi, ecx
mov dword [esp + 0x4c], ecx
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x4f9580]
sub eax, 0x5f
jne 0x478be6
mov edi, str._ROWID_
sub edi, ecx
test dl, dl
je 0x478bda
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x4f9580]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x4f9580]
sub eax, ecx
je 0x478bb7
jmp 0x478bde
test eax, eax
je 0x478c09
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
mov edx, str.ROWID
call fcn.0041b470
test eax, eax
je 0x478c09
mov ecx, dword [edi + 4]
mov edx, 0x504ae8
call fcn.0041b470
test eax, eax
jne 0x478cb3
mov eax, dword [esp + 0x6c]
or esi, 0xffffffff
mov byte [esp + 0x1b], 1
mov edx, str.ROWID
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
jmp 0x478c37
test esi, esi
jns 0x478c2d
mov edx, str.ROWID
jmp 0x478c37
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push edx
mov edx, 0x17
push dword [eax]
call fcn.00454dd0
add esp, 0xc
cmp eax, 1
je 0x478cda
cmp eax, 2
jne 0x478c74
mov eax, dword [esp + 0x1c]
mov dword [eax + esi*4], 0xffffffff
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
inc esi
mov edi, dword [esp + 0x40]
add edi, 0x18
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
cmp esi, dword [ecx]
jl 0x478a62
mov edi, dword [esp + 8]
mov al, byte [esp + 0x1b]
mov dl, byte [esp + 0x10]
add dl, al
test byte [edi + 0x2a], 0x10
mov byte [esp + 0x54], dl
je 0x478cea
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x478d04
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push dword [eax + ecx*8 + 4]
push str.no_such_column:__s
push esi
call fcn.0041b2c0
add esp, 0xc
mov byte [esi + 0x11], 1
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x50]
jmp 0x47a392
xorps xmm0, xmm0
movlpd qword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x68]
mov dword [esi + 0x48], eax
mov eax, esi
mov esi, dword [esp + 0xc]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi]
test dword [eax + 0x18], 0x80000
je 0x478d37
movzx eax, dl
mov ecx, edi
mov edx, dword [esp + 0x1c]
push eax
call fcn.00462960
mov dl, byte [esp + 0x58]
add esp, 4
jmp 0x478d39
xor eax, eax
mov edi, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
test edi, edi
je 0x478dde
nop
test dl, dl
jne 0x478da5
test eax, eax
jne 0x478da5
cmp dword [edi + 0x24], eax
jne 0x478da5
cmp edi, dword [esp + 0x34]
je 0x478da5
movzx esi, word [edi + 0x32]
xor edx, edx
mov dword [esp + 0x5c], eax
test esi, esi
je 0x478daf
mov ecx, dword [edi + 4]
movzx eax, word [ecx]
test ax, ax
js 0x478d9d
mov esi, dword [esp + 0x1c]
cwde
cmp dword [esi + eax*4], 0
movzx esi, word [edi + 0x32]
jge 0x478d9d
inc edx
add ecx, 2
cmp edx, esi
jl 0x478d74
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
jmp 0x478daf
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x478db8
mov edx, dword [esp + 0x64]
mov byte [ecx + edx + 1], 0
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0xc]
mov dword [edx + ecx*4], eax
inc ecx
mov edi, dword [edi + 0x14]
mov dl, byte [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
test edi, edi
jne 0x478d50
mov edi, dword [esi + 8]
mov dword [esp + 0x4c], edi
test edi, edi
jne 0x478dfe
mov ecx, esi
call fcn.0046eff0
mov edi, eax
mov dword [esp + 0x4c], eax
test edi, edi
je 0x478cda
cmp byte [esi + 0x12], 0
jne 0x478e08
or dword [edi + 0x60], 4
mov eax, dword [esi + 0x1a0]
mov edx, esi
mov ecx, dword [esp + 0x2c]
test eax, eax
cmovne esi, eax
cmovne edx, eax
mov eax, 1
mov dword [esp + 0x30], edx
shl eax, cl
mov ecx, dword [esi + 0x154]
test ecx, eax
jne 0x478e6c
mov eax, dword [esp + 0x2c]
bts ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x154], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
add edx, edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*8 + 0xc]
mov eax, dword [eax]
mov dword [esi + ecx*4 + 0x158], eax
cmp ecx, 1
jne 0x478f29
mov ecx, esi
call fcn.0045ad70
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0x150]
or byte [edx + 0x14], 1
bts eax, ecx
mov esi, dword [esp + 0xc]
mov dword [edx + 0x150], eax
mov edx, dword [esp + 8]
test byte [edx + 0x2a], 0x10
jne 0x478f03
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x20], eax
inc eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0x38], eax
mov dword [esi + 0x4c], eax
mov dword [esp + 0x24], eax
jne 0x478ec0
test ecx, ecx
jne 0x478ec0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x478ed4
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x7c], eax
movsx eax, word [edx + 0x22]
add eax, dword [esp + 0x38]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x54], 0
jne 0x478ee3
test ecx, ecx
jne 0x478ee3
test eax, eax
je 0x478eed
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + 1]
mov dword [esp + 0x80], eax
movsx eax, word [edx + 0x22]
add eax, ecx
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x478f32
mov eax, dword [esi + 0x1f0]
mov dword [esp + 0xa0], eax
mov eax, dword [edx]
mov dword [esp + 0x3c], esi
mov dword [esi + 0x1f0], eax
jmp 0x478f3d
mov edx, dword [esp + 0x30]
jmp 0x478e70
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x478f52
push dword [esp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0045c840
add esp, 8
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xb0]
call fcn.0044afc0
test eax, eax
jne 0x47a38a
mov ecx, dword [esp + 8]
mov al, byte [ecx + 0x2a]
test al, 0x10
je 0x478fa2
push dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
push dword [ebp + 0xc]
mov edx, dword [esp + 0x70]
push edi
push dword [esp + 0x78]
push dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0047a480
mov ecx, dword [esp + 0x54]
add esp, 0x18
mov esi, dword [esp + 0x50]
jmp 0x47a396
test al, 0x20
jne 0x479084
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x478fd0
push dword [esp + 0x24]
mov edx, 0x4d
mov ecx, edi
push dword [esp + 0x24]
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x479007
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ecx, esi
push 0x8004
push 0
push 0
push dword [ebp + 0xc]
call fcn.00486030
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47a38a
mov ecx, dword [esi + 0x3c]
mov edx, 0x79
push dword [esp + 0x24]
movzx eax, byte [esi + 0x28]
push dword [esp + 0x18]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x64], ecx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.00437870
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x47907d
push dword [esp + 0x24]
mov edx, 0x8c
mov ecx, edi
push dword [esp + 0x24]
call fcn.00437870
add esp, 8
mov ecx, esi
jmp 0x4792dd
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x4c]
movsx edx, cx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea esi, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x30], esi
mov dword [ecx + 0x4c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x58], eax
inc eax
mov dword [ecx + 0x48], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4790db
push 0
push esi
push 0
mov edx, 0x4d
mov ecx, edi
call fcn.004376e0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x47910e
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x94], esi
cmp dword [eax + 0x58], esi
jg 0x47913f
push 0
push edx
push dword [esp + 0x60]
mov edx, 0x69
mov ecx, edi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x94], eax
jmp 0x479172
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x58]
mov word [eax + ecx*4], 0x69
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
call fcn.00438550
push dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push 4
push 0
push 0
push dword [ebp + 0xc]
call fcn.00486030
add esp, 0x14
mov dword [esp + 0xa8], eax
test eax, eax
je 0x47a38a
mov ecx, dword [eax + 0x3c]
xor esi, esi
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
test eax, eax
jle 0x4791fe
nop
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 8]
add eax, esi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x1c]
call fcn.0044eda0
mov eax, dword [esp + 0x38]
inc esi
add esp, 0xc
cmp esi, eax
jl 0x4791d0
cmp dword [esp + 0x40], 0
je 0x479251
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x479239
mov eax, dword [esp + 0x94]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.004381b0
add esp, 4
mov word [esi], 0x9f
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov dword [esp + 0x60], esi
jmp 0x4792d6
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x58]
call fcn.00463520
mov esi, dword [esp + 0x68]
add esp, 4
mov edx, 0x60
mov ecx, edi
push eax
push esi
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00437b60
mov eax, dword [edi + 0x18]
add esp, 0x14
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4792a3
push 0
push esi
push dword [esp + 0x60]
mov edx, 0x7c
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4792d6
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x7c
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0xa8]
call fcn.00486ac0
mov eax, dword [esp + 0x50]
test byte [eax + 0x18], 0x80
je 0x479357
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x1a4], 0
jne 0x479357
inc dword [eax + 0x4c]
mov edx, dword [eax + 0x4c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x78], edx
cmp dword [eax + 0x58], ecx
jg 0x479324
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x479357
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [edi + 0x18]
mov edx, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x47938c
mov ecx, dword [esi]
lea eax, [edx*8 + 4]
mov edx, dword [esi + 0x78]
push 0
push eax
call fcn.00418a40
mov edx, dword [esp + 0x34]
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x47939a
mov dword [eax + edx*4], 0xffffffff
cmp dword [esp + 0x84], 0
not edx
mov dword [esp + 0x2c], edx
jne 0x479437
cmp dword [ebp + 0x10], 5
je 0x4793cf
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4793e8
nop
cmp byte [eax + 0x36], 5
je 0x4793cf
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4793c0
jmp 0x4793e8
push dword [esp + 0x98]
push 1
push dword [esp + 0x6c]
call fcn.004a35f0
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esp + 0x40], 0
mov esi, dword [esp + 0x28]
je 0x479416
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
test eax, eax
js 0x479408
sub eax, esi
mov byte [eax + edx], 0
mov eax, dword [esp + 0x5c]
test eax, eax
js 0x479416
sub eax, esi
mov byte [eax + edx], 0
push 0
push 0
push dword [esp + 0x6c]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push esi
push 0
push 0x67
call fcn.00466590
mov edx, dword [esp + 0x44]
add esp, 0x18
jmp 0x47943b
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x40], 0
je 0x4794d8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
sub eax, esi
cmp byte [eax + ecx], 0
je 0x47947c
cmp dword [esp + 0x84], 0
jne 0x47947c
push dword [esp + 0x88]
push dword [esp + 0x64]
push edx
push ecx
mov edx, 0x1e
mov ecx, edi
call fcn.00437ce0
add esp, 0x10
cmp dword [esp + 0x34], 0
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x60]
mov ecx, dword [edi + 0x20]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
cmp dword [eax + 0x58], ecx
jg 0x4794b5
push 0
push esi
push edx
mov edx, 0x22
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4796d3
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x22
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4796c2
cmp dword [esp + 0x34], 0
je 0x479614
mov esi, dword [edi + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x479514
mov edx, dword [esi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.00418a40
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x479526
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [edi + 0x18]
not esi
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x28], esi
cmp dword [eax + 0x58], ecx
jg 0x479553
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push edx
push dword [esp + 0x60]
mov edx, 0x37
call fcn.004376e0
add esp, 0xc
jmp 0x47958a
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x37
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x90], ecx
cmp dword [eax + 0x58], ecx
jg 0x4795be
push 0
push dword [esp + 0x64]
mov edx, 0x77
mov ecx, edi
push dword [esp + 0x60]
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x90], eax
jmp 0x4795f5
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x77
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x64]
mov edx, 0x1e
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00437ce0
add esp, 0x10
jmp 0x4796d3
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x28], esi
cmp dword [eax + 0x58], esi
jg 0x479647
push dword [esp + 0x24]
mov ecx, edi
push edx
push dword [esp + 0x28]
mov edx, 0x3c
call fcn.004376e0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x28], eax
jmp 0x47967e
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x3c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4796a0
push edx
push esi
push dword [esp + 0x1c]
mov edx, 0x20
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4796d3
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], esi
mov byte [eax + ecx*4 + 3], 0
cmp byte [esp + 0x1b], 0
je 0x4797d7
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47974d
cmp byte [eax], 0x9d
jne 0x47974d
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479718
push 0
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x52
call fcn.004376e0
add esp, 0xc
jmp 0x47977f
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x52
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479783
push dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov edx, eax
mov ecx, esi
call fcn.0044f2b0
mov edx, dword [esp + 0x3c]
add esp, 4
cmp eax, edx
je 0x479783
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x479783
push edx
push eax
mov edx, 0x53
call fcn.00437870
add esp, 8
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4797a4
push 0
push 0
push edx
mov edx, 0x11
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4797d7
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
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 + 0x10], 0
jne 0x479895
cmp dword [esp + 0x48], 0
jne 0x4798a0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x479996
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x48]
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.00478680
mov edx, dword [esp + 0x34]
xor ecx, ecx
or edx, eax
add esp, 0x14
mov eax, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x22]
jge 0x479927
mov dword [esp + 0x30], ecx
nop dword [eax]
cmp edx, 0xffffffff
je 0x4798ed
cmp esi, 0x20
jge 0x479863
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x4798ed
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x4798ed
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4798b2
mov eax, dword [esp + 0x7c]
mov edx, 0x4d
push 0
add eax, esi
mov ecx, edi
push eax
push 0
call fcn.004376e0
jmp 0x479904
cmp dword [esp + 0x48], 0
je 0x4797f9
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
call fcn.00462870
jmp 0x4797fb
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x7c]
add eax, esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x47990b
mov eax, dword [esp + 0x7c]
mov ecx, edi
mov edx, dword [esp + 8]
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
call fcn.0044eda0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 8]
inc esi
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x30], ecx
movsx eax, word [eax + 0x22]
cmp esi, eax
jl 0x479840
cmp byte [esp + 0x1b], 0
jne 0x479992
cmp dword [esp + 0x34], 0
jne 0x479992
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47995b
push 0
push dword [esp + 0x3c]
mov edx, 0x52
mov ecx, edi
push dword [esp + 0x2c]
call fcn.004376e0
add esp, 0xc
jmp 0x479992
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x52
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x44]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push dword [esp + 0xc]
push 1
push 1
push dword [ebp + 8]
call fcn.00478680
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor edx, edx
mov dword [esp + 0x34], esi
xor eax, eax
mov dword [esp + 0x44], edx
add esp, 0x14
cmp ax, word [ecx + 0x22]
jge 0x479c0c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
movsx eax, word [ecx + 0x20]
cmp edx, eax
jne 0x479a0e
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479b4b
push 0
push dword [esp + 0x14]
mov edx, 0x4d
mov ecx, edi
push 0
call fcn.004376e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x479bee
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edx*4]
test eax, eax
js 0x479b04
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + ecx*8]
test edx, edx
je 0x479a9a
cmp byte [edx], 0x9d
jne 0x479a9a
mov eax, dword [esp + 0xc]
mov edx, dword [edx + 0x1c]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479a62
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x52
call fcn.004376e0
add esp, 0xc
jmp 0x479be6
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x52
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479be6
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.0044f2b0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp edx, eax
je 0x479bee
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 8]
test esi, esi
je 0x479bea
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479aed
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x53
call fcn.004376e0
add esp, 0xc
jmp 0x479be6
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x53
jmp 0x479a74
test dword [esp + 0x74], 1
je 0x479b86
cmp edx, 0x1f
jg 0x479b86
mov eax, 1
mov ecx, edx
shl eax, cl
test esi, eax
jne 0x479b86
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479b4b
push 0
push dword [esp + 0x14]
mov edx, 0x4d
mov ecx, edi
push 0
call fcn.004376e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x479bee
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
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 eax, edx
jmp 0x479bee
mov esi, dword [esp + 0xc]
xor ecx, ecx
add esi, 0x7c
nop
cmp dword [esi + 0xc], 0
mov eax, dword [esp + 0x14]
jle 0x479bae
cmp dword [esi], eax
jne 0x479bae
movsx eax, word [esi + 4]
cmp eax, edx
je 0x479ca6
mov eax, dword [esp + 0x14]
inc ecx
add esi, 0x14
cmp ecx, 0xa
jl 0x479b90
push dword [esp + 0x10]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov ecx, dword [esi + 8]
call fcn.0044eda0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + 0x34]
call fcn.0044ea60
add esp, 8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 8]
inc eax
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edx
movsx eax, word [ecx + 0x22]
cmp edx, eax
jl 0x4799d7
test byte [esp + 0x74], 1
je 0x479d9e
push dword [esp + 0x80]
mov edx, ecx
mov ecx, edi
call fcn.00463610
mov eax, dword [esp + 0x48]
add esp, 4
mov esi, eax
test eax, eax
je 0x479c78
mov edi, dword [esp + 0x28]
cmp byte [esi + 8], 0x6e
jne 0x479c6d
cmp byte [esi + 9], 1
jne 0x479c6d
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
call fcn.00477bb0
test eax, eax
je 0x479c6d
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x14]
call fcn.00478550
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x479c38
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x34], 0
je 0x479cf7
push dword [esp + 0x88]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x64]
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.00437ce0
add esp, 0x10
jmp 0x479d56
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x70]
mov dword [esi + 0x10], eax
inc dword [ecx + 0x70]
mov edx, dword [esi + 0xc]
call fcn.0044ec70
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
je 0x479bea
mov esi, dword [ecx + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479aed
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x53
call fcn.004376e0
add esp, 0xc
jmp 0x479be6
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479d1f
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.004376e0
add esp, 0xc
jmp 0x479d56
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 8]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x479d9e
mov eax, dword [esp + 0x1c]
cmp dword [eax + esi*4], 0
jge 0x479d95
movsx eax, word [ecx + 0x20]
cmp esi, eax
je 0x479d95
mov eax, dword [esp + 0x80]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [esp + 0x1c]
call fcn.0044eda0
mov ecx, dword [esp + 0x14]
add esp, 0xc
movsx eax, word [ecx + 0x22]
inc esi
cmp esi, eax
jl 0x479d64
cmp dword [esp + 0x84], 0
jne 0x479ffd
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
mov edx, ecx
push eax
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
xor esi, esi
push dword [ebp + 0x10]
mov dword [esp + 0x84], esi
push dword [esp + 0x64]
push dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x8c]
push dword [esp + 0x34]
push dword [esp + 0xb0]
call fcn.00464cc0
add esp, 0x28
cmp dword [esp + 0x48], esi
je 0x479e16
movzx eax, byte [esp + 0x54]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push dword [esp + 0x20]
push esi
push dword [esp + 0x30]
call fcn.00462240
add esp, 0x10
cmp dword [esp + 0x74], esi
jne 0x479e27
cmp byte [esp + 0x54], 0
je 0x479eb0
cmp dword [esp + 0x34], esi
je 0x479e51
push dword [esp + 0x88]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x64]
push 0
push dword [esp + 0x20]
call fcn.00437ce0
add esp, 0x10
mov esi, eax
jmp 0x479eb0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x58], esi
jg 0x479e79
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.004376e0
add esp, 0xc
mov esi, eax
jmp 0x479eb0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push dword [esp + 0x90]
push dword [esp + 0x78]
push dword [esp + 0x20]
call fcn.0045d820
add esp, 0x10
cmp dword [esp + 0x48], 0
jne 0x479ee7
mov al, byte [esp + 0x54]
test al, al
jne 0x479ee7
cmp dword [esp + 0x34], 0
je 0x479f46
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x479f0b
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x73
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x479f42
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x73
mov byte [eax + ecx*4 + 3], 0
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
mov al, byte [esp + 0x54]
cmp dword [esp + 0x74], 0
jne 0x479f51
test al, al
je 0x479f84
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [edi + 0x20]
test esi, esi
jns 0x479f65
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x479f74
mov eax, 0x520b44
jmp 0x479f7d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [esp + 0x54]
cmp dword [esp + 0x48], 0
mov esi, dword [esp + 0xc]
je 0x479fab
mov edx, dword [esp + 8]
mov ecx, esi
movzx eax, al
push eax
push dword [esp + 0x20]
push dword [esp + 0x40]
push 0
call fcn.00462240
add esp, 0x10
mov edx, dword [esp + 8]
mov ecx, esi
push 0
push 0
push 1
push dword [esp + 0x98]
push dword [esp + 0x48]
push dword [esp + 0x84]
push dword [esp + 0x2c]
call fcn.00466250
add esp, 0x1c
cmp dword [esp + 0x48], 0
je 0x47a001
movzx eax, byte [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [ebp + 8]
call fcn.00463300
add esp, 0x10
jmp 0x47a001
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
test byte [eax + 0x18], 0x80
je 0x47a072
cmp dword [esi + 0x1a4], 0
jne 0x47a072
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a03b
push 0
push 1
push dword [esp + 0x80]
mov edx, 0x59
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x47a072
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x59
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [esp + 0x44]
test eax, eax
je 0x47a0c8
mov edi, dword [esp + 0x28]
nop
cmp byte [eax + 8], 0x6e
jne 0x47a0b9
cmp byte [eax + 9], 2
jne 0x47a0b9
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.00477bb0
test eax, eax
je 0x47a0b5
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x14]
call fcn.00478550
add esp, 0x10
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x47a080
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x40], 0
jne 0x47a1a5
cmp dword [esp + 0x34], 0
je 0x47a14a
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x47a0f6
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a127
mov edx, dword [esp + 0x90]
mov ecx, edi
push 0
push edx
push dword [esp + 0x60]
mov edx, 7
call fcn.004376e0
add esp, 0xc
jmp 0x47a1a5
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x90]
mov word [eax + ecx*4], 7
jmp 0x47a18c
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a16e
push 0
push dword [esp + 0x2c]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x47a1a5
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x47a1c1
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x47a256
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
inc eax
mov dword [esp + 0x4c], eax
cmp byte [eax], 0
je 0x47a245
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a20e
push 0
push 0
push esi
mov edx, 0x6d
mov ecx, edi
call fcn.004376e0
mov edx, dword [esp + 0x68]
add esp, 0xc
jmp 0x47a241
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
mov edx, dword [edx + 0x14]
inc eax
inc esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], eax
test edx, edx
jne 0x47a1e4
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x70]
jge 0x47a2b4
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a281
push 0
push 0
push edx
mov edx, 0x6d
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x47a2b4
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x12], 0
jne 0x47a2db
cmp dword [eax + 0x1a4], 0
jne 0x47a2db
cmp dword [eax + 0x19c], 0
je 0x47a2db
mov ecx, eax
call fcn.00463980
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x50]
test byte [esi + 0x18], 0x80
je 0x47a38e
cmp dword [eax + 0x1a4], 0
jne 0x47a38e
cmp byte [eax + 0x12], 0
jne 0x47a38e
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x47a327
push 0
push 1
push dword [esp + 0x80]
mov edx, 0x55
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x47a35e
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x55
mov byte [eax + ecx*4 + 3], 0
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
mov edx, 1
mov ecx, edi
call fcn.00439730
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x47a38e
mov ecx, dword [edi + 0x10]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.00436b30
add esp, 0xc
jmp 0x47a38e
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x47a3a7
mov eax, dword [esp + 0xa0]
mov dword [ecx + 0x1f0], eax
test edi, edi
je 0x47a445
test esi, esi
je 0x47a3ed
cmp dword [esi + 0x1c8], 0
je 0x47a3c7
mov edx, edi
mov ecx, esi
call fcn.00418550
jmp 0x47a445
cmp edi, dword [esi + 0x120]
jb 0x47a3ed
cmp edi, dword [esi + 0x124]
jae 0x47a3ed
mov eax, dword [esi + 0x11c]
mov dword [edi], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edi
jmp 0x47a445
cmp dword [0x51bfe0], 0
je 0x47a43b
mov eax, dword [0x51f900]
test eax, eax
je 0x47a409
push eax
call dword [0x51c038]
add esp, 4
push edi
call dword [0x51c014]
sub dword [0x51f930], eax
add esp, 4
dec dword [0x51f954]
push edi
call dword [0x51c00c]
mov eax, dword [0x51f900]
add esp, 4
test eax, eax
je 0x47a445
push eax
call dword [0x51c040]
jmp 0x47a442
push edi
call dword [0x51c00c]
add esp, 4
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.0045a710
mov eax, dword [ebp + 8]
test eax, eax
je 0x47a460
mov edx, eax
mov ecx, esi
call fcn.0044d030
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47a470
mov edx, eax
mov ecx, esi
call fcn.0044c120
pop edi
pop esi
mov esp, ebp
pop ebp
ret