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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x50], esi
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x30], eax
cmp dword [edi + 0x24], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x98], 0
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0x64], eax
jne 0x479350
cmp byte [eax + 0x49], 0
jne 0x479350
call fcn.00453310
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x479350
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x54], 0xfff0bdc0
test ecx, ecx
je 0x4776b4
mov eax, dword [edi]
xor esi, esi
mov dword [esp + 0x54], esi
mov edx, dword [eax + 0x14]
test edx, edx
jle 0x4776b0
mov eax, dword [eax + 0x10]
add eax, 0xc
nop word [eax + eax]
cmp dword [eax], ecx
je 0x4776ac
inc esi
add eax, 0x10
cmp esi, edx
jl 0x4776a0
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x50]
lea eax, [esp + 0xb0]
mov edx, ebx
push eax
push dword [esp + 0x24]
mov ecx, edi
push 0x6e
call fcn.00476970
add esp, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xc]
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x78], eax
call fcn.0044dac0
test eax, eax
jne 0x479350
push dword [esp + 0xb0]
mov edx, ebx
mov ecx, edi
call fcn.004533b0
add esp, 4
test eax, eax
jne 0x479350
mov eax, dword [edi + 0x28]
mov dword [esi + 0x38], eax
inc dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], eax
inc eax
test byte [ebx + 0x24], 0x20
mov dword [esp + 0xa0], eax
jne 0x477731
mov dword [esp + 0x34], 0
jmp 0x477754
mov ecx, dword [ebx + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x477754
nop dword [eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x477750
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x477740
mov dword [esp + 0x34], ecx
mov edx, dword [ebx + 8]
xor esi, esi
mov dword [esp + 0x88], esi
test edx, edx
je 0x4777b0
mov ecx, dword [edi + 0x28]
xor ebx, ebx
nop dword [eax]
mov eax, dword [edx + 0x38]
mov esi, ecx
and al, 3
cmp al, 2
jne 0x477790
cmp dword [esp + 0x34], 0
je 0x477790
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0x28]
lea ecx, [esi + 1]
inc ebx
mov dword [edi + 0x28], ecx
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x477770
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
movsx eax, word [ebx + 0x2a]
mov ecx, dword [esp + 0x64]
add eax, esi
push 0
lea eax, [eax*4 + 2]
add eax, esi
push eax
call fcn.00405440
mov ecx, eax
add esp, 8
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x479350
movsx eax, word [ebx + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + esi*4]
mov dword [esp + 0x9c], eax
lea eax, [esi + 1]
mov dword [esp + 0x28], ecx
push eax
push 1
push ecx
call fcn.004e8ed0
mov eax, dword [esp + 0x34]
add esp, 0xc
xor ecx, ecx
mov byte [eax + esi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x477834
mov edi, dword [esp + 0x40]
nop word [eax + eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x477820
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0xcc], eax
xor cl, cl
xor al, al
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov dword [esp + 0xc8], edi
mov dword [esp + 0x58], eax
mov byte [esp + 0x1f], cl
mov dword [esp + 0x2c], esi
cmp dword [edx], esi
jle 0x477a4d
lea ebx, [edx + 4]
mov dword [esp + 0x44], ebx
nop dword [eax]
mov edx, dword [ebx]
lea ecx, [esp + 0xc8]
call fcn.0043b580
test eax, eax
jne 0x4792e2
mov edx, dword [esp + 0x10]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x47792f
mov eax, dword [edx + 4]
mov esi, dword [ebx + 4]
mov dword [esp + 0xac], esi
mov dword [esp + 0x74], eax
mov edx, dword [eax]
mov bl, byte [edx]
movzx eax, bl
movzx ecx, byte [eax + 0x53ea00]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x53ea00]
sub ecx, eax
jne 0x47790f
sub esi, edx
test bl, bl
je 0x47796e
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x53ea00]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x53ea00]
sub eax, ecx
je 0x4778e3
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x74]
add eax, 0x10
mov dword [esp + 0x74], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jl 0x4778c5
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x4779cf
cmp dword [esp + 0x34], 0
jne 0x477a64
mov ecx, dword [ebx + 4]
call fcn.0043dff0
test eax, eax
je 0x477a64
mov eax, dword [ebx]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, 0x539eac
mov dword [esp + 0x90], eax
jmp 0x4779e4
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x477999
mov eax, dword [ebx]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x1f], 1
mov dword [eax + edi*4], esi
jmp 0x47792f
cmp dword [esp + 0x34], 0
je 0x4779bf
mov ecx, dword [edx + 4]
mov eax, edi
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
mov ecx, 1
mov eax, dword [esp + 0x58]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov dword [eax + edi*4], esi
jmp 0x47792f
test edi, edi
jns 0x4779da
mov edx, 0x539eac
jmp 0x4779e4
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push dword [edx]
mov edx, 0x17
call fcn.00449a30
add esp, 0xc
cmp eax, 1
je 0x4792e2
cmp eax, 2
jne 0x477a25
mov eax, dword [esp + 0x40]
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [esp + 0x20]
inc esi
add ebx, 0x18
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], ebx
cmp esi, dword [eax]
jl 0x477890
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov cl, byte [esp + 0x1f]
cmp dword [ebx + 0x38], 0
lea edx, [ecx + eax]
mov byte [esp + 0x44], dl
je 0x477a8a
or eax, 0xffffffff
mov ecx, 0xffffffff
jmp 0x477aa4
mov edi, dword [esp + 0x20]
lea eax, [esi + esi*2]
mov ebx, dword [esp + 0x14]
push dword [edi + eax*8 + 8]
push 0x53c4f8
push ebx
call fcn.004081e0
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x4792e6
xorps xmm0, xmm0
movlpd qword [esp + 0xb8], xmm0
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x50]
mov dword [esi + 0x48], eax
movzx eax, dl
mov edx, ebx
push eax
push dword [esp + 0x44]
mov dword [esi + 0x4c], ecx
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.0045a910
mov esi, dword [ebx + 8]
add esp, 8
mov edx, eax
mov dword [esp + 0x5c], edx
test esi, esi
je 0x477bca
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x9c]
inc ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
nop dword [eax + eax]
cmp byte [esp + 0x44], 0
jne 0x477b94
cmp edx, 1
jg 0x477b94
cmp dword [esi + 0x24], 0
jne 0x477b94
cmp esi, dword [esp + 0x34]
je 0x477b94
movzx edi, word [esi + 0x32]
xor ebx, ebx
xor edx, edx
test edi, edi
je 0x477b8f
mov ecx, dword [esi + 4]
movzx eax, word [ecx]
test ax, ax
js 0x477b52
mov edi, dword [esp + 0x40]
cwde
cmp dword [edi + eax*4], ebx
movzx edi, word [esi + 0x32]
jge 0x477b52
inc edx
add ecx, 2
cmp edx, edi
jl 0x477b27
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov byte [ecx], 0
jmp 0x477ba9
mov edi, dword [esp + 0x14]
inc dword [edi + 0x2c]
movzx eax, word [esi + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 5
je 0x477b78
cmp eax, 0xa
jne 0x477b83
cmp byte [esi + 0x36], 5
jne 0x477b83
mov dword [esp + 0xe8], 1
mov ecx, dword [esp + 0x2c]
test ebx, ebx
jne 0x477ba5
mov eax, dword [esp + 0x38]
mov byte [ecx], 0
jmp 0x477ba9
inc dword [edi + 0x2c]
movzx eax, word [esi + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
mov dword [edi + 0x2c], eax
jmp 0x477b87
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
inc ecx
mov edx, dword [esp + 0x5c]
mov dword [eax], ebx
add eax, 4
mov esi, dword [esi + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
test esi, esi
jne 0x477af0
cmp dword [esp + 0xe8], 0
je 0x477beb
mov eax, dword [esp + 0x88]
inc eax
push eax
push 1
push dword [esp + 0x30]
call fcn.004e8ed0
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [esp + 0x14]
test edi, edi
je 0x477bfe
mov ebx, edi
mov dword [esp + 0x38], ebx
jmp 0x477c27
cmp dword [esi + 0x78], 0
jne 0x477c10
mov eax, dword [esi]
test byte [eax + 0x44], 8
jne 0x477c10
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.00425fe0
mov edi, eax
mov ebx, edi
mov dword [esp + 0x38], ebx
test edi, edi
je 0x4792e2
cmp byte [esi + 0x12], 0
jne 0x477c34
or dword [edi + 0x94], 0x10
mov eax, dword [esi + 0x78]
test eax, eax
mov ecx, dword [esp + 0x54]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x5c]
test edx, eax
jne 0x477c64
bts edx, ecx
mov dword [esi + 0x5c], edx
cmp ecx, 1
jne 0x477c64
mov ecx, esi
call fcn.004519b0
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x10]
bts eax, ecx
or byte [esi + 0x14], 1
mov dword [esi + 0x58], eax
mov esi, dword [esp + 0x14]
cmp dword [edx + 0x38], 0
jne 0x477cf3
mov eax, dword [esi + 0x2c]
inc eax
cmp byte [esp + 0x58], 0
mov dword [esp + 0x48], eax
lea ecx, [eax + 1]
mov dword [esp + 0x4c], ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x24], ecx
jne 0x477cab
cmp dword [esp + 0x6c], 0
jne 0x477cab
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x477cc2
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
movsx eax, word [edx + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x2c], ecx
cmp byte [esp + 0x44], 0
jne 0x477cd4
cmp dword [esp + 0x6c], 0
jne 0x477cd4
test eax, eax
je 0x477ce0
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x94], eax
movsx eax, word [edx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esp + 0x78], 0
je 0x477d35
push dword [esp + 0x18]
mov eax, dword [edx]
push dword [esp + 0x80]
mov dword [esp + 0xb4], esi
mov esi, dword [esi + 0x1b8]
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov dword [esi + 0x1b8], eax
call fcn.00453430
add esp, 8
mov dword [esp + 0x38], ebx
jmp 0x477d51
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0xc8]
call fcn.0043b580
test eax, eax
jne 0x4792c4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x38], eax
je 0x477da1
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
push ecx
push dword [esp + 0x80]
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x9c]
push edi
push edx
mov edx, dword [esp + 0x68]
call fcn.004793a0
add esp, 0x18
jmp 0x4792c8
mov eax, dword [esp + 0x64]
test byte [eax + 0x1c], 0x80
je 0x477e20
cmp dword [esi + 0x7c], 0
jne 0x477e20
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x477de6
push 0
push dword [esp + 0x74]
mov edx, 0x43
mov ecx, edi
push 0
call fcn.00426240
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x477e20
mov esi, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test byte [edx + 0x24], 0x20
jne 0x477e8d
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x477e52
push dword [esp + 0x24]
mov edx, 0x46
mov ecx, edi
push dword [esp + 0x4c]
push 0
call fcn.00426240
add esp, 0xc
jmp 0x477fcb
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x477fcb
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, cx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x14]
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x60], eax
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x477ee6
push 0
push edx
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x477f1c
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x46
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, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0xb4], ecx
cmp dword [eax + 0x30], ecx
jg 0x477f50
push 0
push esi
push dword [esp + 0x68]
mov edx, 0x6c
mov ecx, edi
call fcn.00426240
add esp, 0xc
mov dword [esp + 0xb4], eax
jmp 0x477f82
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x6c
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 + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x34]
mov esi, dword [eax + 8]
call fcn.00452430
mov edx, eax
test edx, edx
je 0x477fc7
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x477fb2
push edx
mov edx, 0xfffffff7
call fcn.00426b10
add esp, 4
jmp 0x477fc7
mov eax, dword [esi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x477ffb
cmp dword [esp + 0x6c], 0
jne 0x477ffb
cmp dword [esp + 0x5c], 0
jne 0x477ffb
cmp byte [esp + 0x44], 0
jne 0x477ffb
cmp dword [esp + 0xe8], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [esp + 0xa0]
mov edx, dword [esp + 0x54]
mov ecx, esi
push eax
push 0
push 0
push dword [esp + 0x8c]
call fcn.00488860
mov ecx, eax
add esp, 0x14
mov dword [esp + 0xc0], ecx
test ecx, ecx
je 0x4792c4
mov eax, dword [ecx + 0x18]
movzx edx, byte [ecx + 0x31]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], edx
cmp edx, 2
jne 0x478072
test eax, eax
js 0x478072
cmp eax, esi
je 0x478072
sub eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
cmp byte [eax + ecx], 0
mov eax, 0
cmovne edx, eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x478147
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4780aa
push 0
push dword [esp + 0x28]
mov edx, 0x7b
mov ecx, edi
push esi
call fcn.00426240
mov esi, dword [esp + 0x30]
add esp, 0xc
jmp 0x4780dc
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4781e7
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478110
push edx
push esi
push dword [esp + 0x50]
mov edx, 0x8f
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x4782a2
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x8f
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 0x4782a2
mov eax, dword [esp + 0xa8]
xor esi, esi
cwde
mov dword [esp + 0x54], eax
test eax, eax
jle 0x478198
mov ebx, eax
nop dword [eax + eax]
mov eax, dword [esp + 0x30]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x20]
call fcn.00441100
mov ecx, dword [esp + 0x1c]
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x478160
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4781f5
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
jne 0x4781d4
mov eax, dword [esp + 0xb4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00426b10
mov edx, dword [esp + 0x30]
add esp, 4
mov word [esi], 0xa6
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], esi
mov dword [esp + 0x3c], eax
cmp edx, 2
je 0x4782ae
jmp 0x4782a2
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.0045b6a0
mov esi, dword [esp + 0x5c]
add esp, 4
mov edx, 0x63
mov ecx, edi
push eax
push dword [esp + 0x44]
push esi
push dword [esp + 0x40]
call fcn.00426570
mov eax, dword [ebx + 0xc]
add esp, 0x14
mov edx, dword [ebx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x478251
push dword [esp + 0x30]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x68]
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x47828b
mov esi, dword [esp + 0x60]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x4782a2
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [esp + 0xc0]
call fcn.004896d0
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4782e3
mov edx, dword [esi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004055e0
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4782f1
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x78]
not ecx
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x478416
mov edx, dword [esp + 0x2c]
xor esi, esi
test edx, edx
je 0x4783be
mov eax, dword [esp + 0x80]
test eax, eax
js 0x47832b
sub eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x478348
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, dword [esp + 0x8c]
mov byte [eax + ebx], 0
mov ebx, dword [esp + 0x38]
cmp edx, 2
jne 0x4783be
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x88]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4783be
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
jg 0x478388
push 0
push 0
push 0
mov edx, 0x14
mov ecx, edi
call fcn.00426240
add esp, 0xc
mov esi, eax
jmp 0x4783be
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x14
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
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x98]
push 0
push 0x69
call fcn.0045f6a0
add esp, 0x18
test esi, esi
je 0x47840e
mov eax, dword [edi]
mov edx, dword [ebx + 0x88]
cmp byte [eax + 0x49], 0
je 0x4783fa
mov eax, 0x550080
jmp 0x47840b
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x478586
test eax, eax
jne 0x4784c7
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x80], eax
je 0x4784c7
cmp dword [esp + 0x68], eax
je 0x4784c7
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x47846f
push dword [esp + 0x3c]
mov edx, 0x1d
push ecx
push dword [esp + 0x20]
mov ecx, edi
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x4784a9
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x4784c7
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x98]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
cmp esi, 1
jne 0x4784d6
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], esi
jmp 0x478523
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x47850b
mov edx, dword [esi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004055e0
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x478519
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [esp + 0x30]
not ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x34], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478557
push 0
push esi
push edx
mov edx, 0x32
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x4787d7
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x38]
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
jmp 0x4787cf
cmp dword [esp + 0x34], 0
mov esi, dword [ebx + 0xc]
je 0x47871a
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4785c6
mov edx, dword [esi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004055e0
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4785d4
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [ebx + 0xc]
not ecx
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478608
push 0
push esi
push dword [esp + 0x68]
mov edx, 0x25
mov ecx, edi
call fcn.00426240
mov edx, dword [esp + 0x6c]
add esp, 0xc
jmp 0x47863a
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x25
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 [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
cmp dword [eax + 0x30], ecx
jg 0x47866f
push 0
push esi
push edx
mov edx, 0x7a
mov ecx, edi
call fcn.00426240
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x47869d
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x7a
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 [ebx + 0xc]
mov edx, dword [ebx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x4786c8
push esi
mov esi, dword [esp + 0x2c]
mov edx, 0x1d
push esi
push dword [esp + 0x20]
mov ecx, edi
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x4786fe
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x4787d7
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
jmp 0x4787cf
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x30], edx
jg 0x47874a
mov esi, dword [esp + 0x24]
mov edx, 0x2a
push esi
push ecx
push dword [esp + 0x50]
mov ecx, edi
call fcn.00426240
mov edx, eax
add esp, 0xc
mov dword [esp + 0x28], edx
jmp 0x478780
mov esi, dword [esp + 0x48]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4787a5
push esi
push edx
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x4787d7
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1f], 0
mov esi, dword [esp + 0x14]
je 0x478854
push dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
mov ecx, esi
call fcn.00443650
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47881e
push 0
push 0
push dword [esp + 0x54]
mov edx, 0x11
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x478854
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x11
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 + 0x58], 0
jne 0x47891d
cmp dword [esp + 0x5c], 0
jne 0x478928
cmp dword [esp + 0x6c], 0
je 0x478a1e
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x6c]
push ecx
push dword [esp + 0x14]
mov ecx, esi
push 3
push 0
push dword [esp + 0x30]
call fcn.004774e0
mov ecx, dword [esp + 0x6c]
xor edx, edx
or ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x58], ecx
cmp dx, word [eax + 0x2a]
jge 0x4789b1
mov dword [esp + 0x68], edx
nop dword [eax]
cmp ecx, 0xffffffff
je 0x478974
cmp esi, 0x20
jge 0x4788e1
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x58], eax
jne 0x478974
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + edx + 0xf], 1
jne 0x478974
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x84]
mov ecx, dword [ebx + 0x88]
add edx, esi
cmp dword [eax + 0x30], ecx
jg 0x47893c
push 0
push edx
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00426240
jmp 0x47898e
cmp dword [esp + 0x5c], 0
je 0x478875
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.0045a820
mov dword [esp + 0x58], eax
jmp 0x47887b
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x46
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 0x478991
mov eax, dword [esp + 0x84]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
push esi
push dword [esp + 0x20]
call fcn.00441100
add esp, 0xc
mov eax, dword [esp + 0x10]
inc esi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
add edx, 0x10
mov dword [esp + 0x68], edx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x4788c0
cmp byte [esp + 0x1f], 0
jne 0x478a1e
cmp dword [esp + 0x34], 0
jne 0x478a1e
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4789e8
push 0
push dword [esp + 0x50]
mov edx, 0x4b
mov ecx, edi
push dword [esp + 0x2c]
call fcn.00426240
add esp, 0xc
jmp 0x478a1e
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp + 0x10]
mov edx, dword [esp + 0x70]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push 1
push dword [esp + 0x30]
call fcn.004774e0
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x48], edx
mov dword [esp + 0x80], ecx
cmp si, word [eax + 0x2a]
jge 0x478bf9
mov esi, dword [esp + 0x94]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x478a96
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478b02
push 0
push esi
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x478bd1
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x478abe
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x20]
push esi
mov edx, dword [eax + edx*8 + 4]
call fcn.00443650
add esp, 4
jmp 0x478bd1
test dword [esp + 0xb0], 1
je 0x478b3d
cmp ecx, 0x1f
jg 0x478b3d
mov eax, 1
shl eax, cl
test edx, eax
jne 0x478b3d
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478b02
push 0
push esi
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x478bd1
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x46
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 0x478bd5
mov edx, dword [esp + 0x10]
push 0
push esi
push dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004413e0
add esp, 0x10
mov dword [esp + 0x68], eax
cmp eax, esi
je 0x478bd1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x88]
mov dword [esp + 0xa8], eax
cmp dword [edx + 0x30], eax
mov edx, dword [esp + 0x68]
jg 0x478b97
push 0
push esi
push edx
mov edx, 0x4c
call fcn.00426240
add esp, 0xc
jmp 0x478bd1
inc eax
mov dword [ecx + 0x88], eax
mov eax, dword [esp + 0xa8]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4], 0x4c
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 [esp + 0x48]
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x80]
inc ecx
mov dword [esp + 0x80], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x478a63
test byte [esp + 0xb0], 1
je 0x478d1c
push dword [esp + 0x94]
mov edx, eax
mov ecx, edi
call fcn.0045b780
mov esi, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 1
push dword [esp + 0x34]
push 0x6e
call fcn.00477450
mov eax, dword [ebx + 0xc]
add esp, 0x1c
cmp dword [esp + 0x34], 0
mov edx, dword [ebx + 0x88]
mov eax, dword [eax + 0x30]
je 0x478ddf
cmp eax, edx
jg 0x478c79
push dword [esp + 0x3c]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00426240
add esp, 0xc
mov edx, eax
jmp 0x478caf
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x478ccd
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x98]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x478d20
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp dword [eax + esi*4], 0
jge 0x478d0b
movsx eax, word [ebx + 0x28]
cmp esi, eax
je 0x478d0b
mov eax, dword [esp + 0x94]
mov ecx, edi
add eax, esi
push eax
push esi
push edx
mov edx, ebx
call fcn.00441100
add esp, 0xc
movsx eax, word [ebx + 0x2a]
inc esi
mov edx, dword [esp + 0x18]
cmp esi, eax
jl 0x478ce1
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x78], 0
jne 0x479037
push dword [esp + 0x40]
lea ecx, [esp + 0xec]
mov edx, eax
push ecx
push dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
xor esi, esi
push ecx
push dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x64]
push dword [esp + 0xbc]
push dword [esp + 0x38]
push dword [esp + 0xc0]
call fcn.0045dc90
add esp, 0x28
cmp dword [esp + 0x5c], esi
je 0x478d90
push dword [esp + 0x74]
mov edx, dword [esp + 0x14]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push esi
push dword [esp + 0x30]
call fcn.0045a1b0
add esp, 0x10
cmp dword [esp + 0xe8], esi
jne 0x478da4
cmp byte [esp + 0x44], 0
je 0x478ee4
cmp dword [esp + 0x34], 0
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov eax, dword [eax + 0x30]
je 0x478e8d
cmp eax, esi
jg 0x478e37
push dword [esp + 0x3c]
mov edx, 0x1d
mov ecx, edi
push 0
push dword [esp + 0x20]
call fcn.00426240
add esp, 0xc
mov esi, eax
jmp 0x478e6d
cmp eax, edx
jg 0x478e00
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00426240
add esp, 0xc
jmp 0x478ccd
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x478cd1
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x478ee4
mov eax, dword [edi + 0x58]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0x98]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x478ee4
cmp eax, esi
jg 0x478eae
push dword [esp + 0x24]
mov edx, 0x20
mov ecx, edi
push 0
push dword [esp + 0x20]
call fcn.00426240
add esp, 0xc
mov esi, eax
jmp 0x478ee4
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
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 + 0x10]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0xa0]
push dword [esp + 0xa8]
push dword [esp + 0x24]
call fcn.00454cc0
add esp, 0x10
cmp dword [esp + 0x5c], 1
jg 0x478f17
mov al, byte [esp + 0x44]
test al, al
je 0x478f78
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x478f3e
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x76
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x478f74
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x76
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 + 0x44]
cmp dword [esp + 0xe8], 0
jne 0x478f86
test al, al
je 0x478faf
mov eax, dword [edi]
mov edx, dword [ebx + 0x88]
cmp byte [eax + 0x49], 0
je 0x478f9b
mov eax, 0x550080
jmp 0x478fac
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x5c], 0
mov esi, dword [esp + 0x14]
je 0x478fd6
push dword [esp + 0x74]
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x44]
push dword [esp + 0x54]
push 0
call fcn.0045a1b0
add esp, 0x10
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x2c], 2
mov ecx, esi
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xa8]
push dword [esp + 0x5c]
push dword [esp + 0xb4]
push dword [esp + 0x30]
call fcn.0045f310
add esp, 0x1c
cmp dword [esp + 0x5c], 0
je 0x47903b
push dword [esp + 0x74]
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x44]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0045b450
add esp, 0x10
jmp 0x47903b
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
test byte [eax + 0x1c], 0x80
je 0x4790a8
cmp dword [esi + 0x7c], 0
jne 0x4790a8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x479072
push 0
push 1
push dword [esp + 0x78]
mov edx, 0x50
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x4790a8
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x50
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 esi, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 2
push dword [esp + 0x34]
push 0x6e
call fcn.00477450
mov ecx, dword [esp + 0x48]
add esp, 0x1c
cmp ecx, 1
je 0x4791db
mov eax, dword [ebx + 0xc]
cmp ecx, 2
jne 0x47910e
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4790fd
lea eax, [esi*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc0]
call fcn.004896d0
jmp 0x4791db
cmp dword [esp + 0x34], 0
je 0x479188
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x479130
lea eax, [esi*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47915d
mov edx, dword [esp + 0xa4]
mov ecx, edi
push 0
push edx
push dword [esp + 0x68]
mov edx, 7
call fcn.00426240
add esp, 0xc
jmp 0x4791db
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 8], edx
jmp 0x4791cb
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4791a9
push 0
push esi
push 0
mov edx, 0xd
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x4791db
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4791fa
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x12], 0
jne 0x47921b
cmp dword [eax + 0x7c], 0
jne 0x47921b
cmp dword [eax + 0x74], 0
je 0x47921b
mov ecx, eax
call fcn.0045b9a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
test byte [ecx + 0x1c], 0x80
je 0x4792c4
cmp dword [eax + 0x7c], 0
jne 0x4792c4
cmp byte [eax + 0x12], 0
jne 0x4792c4
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x479264
push 0
push 1
push dword [esp + 0x78]
mov edx, 0x4e
mov ecx, edi
call fcn.00426240
add esp, 0xc
jmp 0x47929a
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x4e
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.00427d80
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x4792c4
mov ecx, dword [edi + 0x64]
mov edx, 0x53c50c
push 0
push 1
push 0xffffffffffffffff
call fcn.00425590
add esp, 0xc
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4792e6
mov ecx, dword [esp + 0xb8]
mov dword [eax + 0x1b8], ecx
jmp 0x4792e6
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x1d0], 0
je 0x47930b
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.004050c0
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.00451220
jmp 0x479367
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0x128]
jb 0x47933a
cmp ecx, dword [esi + 0x12c]
jae 0x47933a
mov eax, dword [esi + 0x124]
mov edx, dword [esp + 0x50]
mov dword [ecx], eax
mov dword [esi + 0x124], ecx
mov ecx, esi
call fcn.00451220
jmp 0x479367
push ecx
call fcn.00405050
mov edx, dword [esp + 0x54]
add esp, 4
mov ecx, esi
call fcn.00451220
jmp 0x479367
mov esi, dword [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x50]
call fcn.00451220
mov edi, dword [esp + 0x20]
test edi, edi
je 0x479370
mov edx, edi
mov ecx, esi
call fcn.0043dac0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x479381
mov edx, eax
mov ecx, esi
call fcn.0043cb90
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret