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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x548
mov esi, esp
mov dword [esi + 0x530], ebp
lea eax, [esi + 0x538]
mov edi, ecx
mov dword [esi + 0x10], edx
lea ebx, [esi + 0x188]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504d60
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
call 0x477106
pop ecx
mov edx, dword [edx + 0x278]
mov dword [esi + 0x8c], ecx
mov ecx, ebx
add edx, 8
call fcn.00426de8
mov ecx, ebx
mov edx, 0x58a188
call fcn.00473ac4
mov ecx, dword [eax + 0x174]
movzx edx, dl
mov dword [esi + 0x5c], edi
or ecx, dword [eax + 0x17c]
je 0x477146
mov ecx, eax
call fcn.00462f94
jmp 0x47716f
mov edi, dword [eax + 0x194]
mov ecx, eax
call fcn.00462f94
cmp edi, 1
ja 0x47716f
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x278]
lea ecx, [eax + 0x210]
add edx, 8
call fcn.0047d2a5
mov edi, dword [esi + 0x10]
mov ecx, dword [edi + 0x240]
cmp ecx, 2
jne 0x477182
push 2
pop eax
jmp 0x4771f2
lea eax, [edi + 0x240]
test ecx, ecx
mov dword [esi + 8], eax
lea eax, [edi + 0x238]
je 0x4771ae
mov ecx, dword [edi + 0x248]
mov edx, dword [edi + 0x244]
mov edi, dword [ecx + 8]
dec edi
and edi, 0xfffffff8
lea edx, [edi + edx + 8]
jmp 0x4771ba
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 0x248]
push eax
push edx
call dword [ecx + 0x38]
add esp, 8
mov edi, edx
mov edx, dword [esi + 8]
lea ebx, [esi + 0x190]
mov dword [esi + 0xc], eax
mov ecx, ebx
call fcn.004f8dde
mov ecx, dword [ebx + 0xc]
movsd xmm0, qword [ebx + 4]
mov eax, dword [ebx]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0xc]
movsd qword [esi + 0xa8], xmm0
mov dword [esi + 0x278], ecx
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x27c], edi
mov dword [esi + 0x280], eax
movsd xmm0, qword [esi + 0xa8]
cmp eax, 2
mov dword [esi + 0x28c], ecx
mov ecx, dword [esi + 0x10]
movsd qword [esi + 0x284], xmm0
mov ecx, dword [ecx + 0x250]
mov dword [esi + 0x290], ecx
je 0x47724c
and dword [esi + 0x540], 0
lea ecx, [esi + 0x280]
lea edx, [esi + 0x278]
call fcn.004f8e2b
mov eax, dword [esi + 0x10]
mov dword [esi + 0x390], 2
and dword [esi + 0x3a0], 0
lea ecx, [eax + 0x210]
mov dword [esi + 0x94], ecx
lea ecx, [eax + 0xc8]
mov dword [esi + 0x34], ecx
lea ecx, [eax + 0x280]
mov dword [esi + 0x90], ecx
movzx eax, byte [eax + 0x270]
test eax, eax
je 0x4772dd
cmp eax, 1
jne 0x478741
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x540], 3
mov ecx, dword [eax + 0x274]
mov al, byte [eax + 0x271]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], al
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047d2dc
pop eax
cmp byte [esi + 0x188], 5
jne 0x47734e
mov byte [esi + 0x3c8], 5
mov al, 5
jmp 0x4774aa
mov edx, dword [esi + 0x10]
mov dword [esi + 0x540], 3
lea ecx, [esi + 0x298]
push dword [ebp + 8]
call fcn.00478f98
pop eax
movzx ecx, byte [esi + 0x298]
cmp ecx, 4
je 0x477742
movsd xmm0, qword [esi + 0x2a8]
mov dl, byte [esi + 0x299]
mov ebx, dword [esi + 0x29c]
mov eax, dword [esi + 0x2a0]
mov edi, dword [esi + 0x2a4]
cmp cl, 3
movsd qword [esi + 0x480], xmm0
jne 0x477386
mov eax, dword [esi + 0x10]
mov word [eax + 0x270], 0x101
and dword [eax + 0x274], 0
jmp 0x47773a
mov eax, dword [esi + 0x188]
cmp al, 4
jne 0x477498
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x194]
push dword [ebp + 8]
push dword [ecx + 0x190]
lea ecx, [esi + 0x3c8]
push ecx
call dword [eax + 0x18]
add esp, 0xc
mov al, byte [esi + 0x3c8]
jmp 0x4774aa
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x10]
mov byte [esi + 0xc], dl
mov dword [esi + 8], ebx
mov edx, dword [edi + 0x278]
mov edi, dword [edi + 0x27c]
add edi, 8
add edx, 8
test ecx, ecx
mov dword [esi + 0x24], edi
je 0x4774e2
cmp ecx, 1
mov dword [esi + 0x20], edx
jne 0x4788c9
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x4a8], eax
mov edx, dword [esi + 0x480]
mov byte [esi + 0x17], 0
mov dword [esi + 0x540], 5
mov dword [esi + 0x4ac], ecx
mov ecx, dword [esi + 0x484]
mov dword [esi + 0x4b0], edx
lea edx, [esi + 0x4a8]
mov dword [esi + 0x4b4], ecx
lea ecx, [esi + 0x188]
call fcn.004231fd
movsd xmm0, qword [esi + 0x188]
movsd xmm1, qword [esi + 0x190]
lea eax, [esi + 0xa9]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x20]
movsd qword [eax + 0xf], xmm1
movsd qword [eax + 7], xmm0
mov al, byte [esi + 0xc]
mov dword [esi + 0xac], edx
mov byte [esi + 0xa9], al
mov eax, dword [esi + 0x10]
mov byte [esi + 0xa8], 1
cmp dword [eax + 0x210], 0
je 0x47758e
cmp dword [eax + 0x218], edx
jne 0x47758e
mov cl, byte [esi + 0xc]
mov byte [eax + 0x270], 1
mov byte [esi + 0x17], 0
mov byte [eax + 0x271], cl
lea ecx, [esi + 0xa8]
mov dword [eax + 0x274], edx
call fcn.00477097
lea ecx, [esi + 0x4a8]
mov dword [esi + 0x540], 3
call fcn.00404d44
jmp 0x47773a
mov ecx, dword [esi + 0x18c]
mov dword [esi + 0x3c8], eax
mov dword [esi + 0x3cc], ecx
cmp al, 5
je 0x478a42
mov edx, dword [esi + 0x3c8]
cmp dl, 4
jne 0x478817
mov eax, dword [esi + 0x10]
mov cl, byte [esi + 0xc]
mov edx, dword [esi + 8]
mov byte [eax + 0x270], 2
mov byte [eax + 0x271], cl
mov dword [eax + 0x274], edx
jmp 0x477281
lea ecx, [esi + 0x188]
mov dword [esi + 0x1c], eax
call fcn.00426de8
lea ecx, [esi + 0x188]
mov edx, 0x58a054
call fcn.00473ac4
mov byte [esi + 0x20], dl
lea edx, [eax + 0x128]
mov dword [esi + 0xc], eax
mov dword [esi + 0x540], 7
lea ecx, [esi + 0xa8]
mov dword [esi + 0x18], edx
push dword [esi + 8]
call fcn.004459c7
pop eax
mov eax, dword [esi + 0xc]
mov ecx, eax
add ecx, 8
cmp dword [esi + 0xa8], 0
mov dword [esi + 0x28], ecx
je 0x477651
mov ecx, dword [eax + 0x190]
mov edx, dword [esi + 8]
call fcn.00442489
test al, al
je 0x477664
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 8]
cmp dword [edi + 0xb8], 0
jne 0x477685
cmp dword [edi + 0xbc], edx
ja 0x477685
lea eax, [edx + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], eax
jmp 0x477685
movsd xmm0, qword [esi + 0xb8]
movsd xmm2, qword [esi + 0xa8]
movsd xmm1, qword [esi + 0xb0]
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x188]
mov byte [esi + 0x17], 0
movsd qword [esi + 0x198], xmm0
movsd qword [esi + 0x190], xmm1
movsd qword [esi + 0x188], xmm2
push eax
call fcn.0047ddad
pop eax
movsd xmm0, qword [esi + 0x4a8]
movsd xmm1, qword [esi + 0x4b0]
mov ecx, dword [esi + 0x20]
mov byte [esi + 0x2f], 1
mov dword [esi + 0x540], 6
movsd qword [esi + 0x2b8], xmm1
movsd qword [esi + 0x2b0], xmm0
call fcn.0047dd7b
movsd xmm0, qword [esi + 0x2b0]
movsd xmm1, qword [esi + 0x2b8]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x188]
mov byte [esi + 0x2f], 0
movsd qword [esi + 0x190], xmm1
movsd qword [esi + 0x188], xmm0
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], ecx
mov ecx, dword [esi + 0x94]
call fcn.0044243a
jmp 0x47773a
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xb0]
call fcn.00445bb4
jmp 0x4776a7
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp dword [eax], 0
jne 0x477685
cmp dword [edi + 0xc], edx
ja 0x477685
lea eax, [edx + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
lea ecx, [esi + 0x188]
push 0
push 0
call fcn.00445c35
pop eax
pop ecx
lea ecx, [esi + 0xa8]
lea edx, [esi + 0x188]
call fcn.00445bf1
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x2b4], eax
mov dword [esi + 0x2b8], edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x2b0], ecx
lea ecx, [esi + 0xa8]
call fcn.0045053e
lea ecx, [esi + 0xa8]
mov edx, 0x58a204
call fcn.00473b4f
mov byte [esi + 8], dl
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x24], eax
add eax, 8
mov dword [esi + 0x540], 8
lea edx, [esi + 0x2b0]
lea edi, [ecx + 0x170]
mov ecx, dword [esi + 0x28]
push eax
push edi
push 1
push dword [esi + 0x1c]
call fcn.00473bda
add esp, 0x10
movzx edx, byte [esi + 8]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x540], 7
call fcn.00462f94
movzx edx, byte [esi + 0x20]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x540], 3
call fcn.00462f94
mov eax, dword [esi + 0x10]
jmp 0x477281
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x188]
mov edx, dword [eax + 0x278]
add edx, 8
call fcn.00426de8
lea ecx, [esi + 0x188]
mov edx, 0x58a128
call fcn.00473ac4
mov dword [esi + 0x18], eax
mov byte [esi + 0x2e], dl
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x188]
mov dword [esi + 0x540], 9
mov edx, dword [eax + 0x27c]
add edx, 8
call fcn.0045053e
lea ecx, [esi + 0x188]
mov edx, 0x58a248
call fcn.00473b4f
mov dword [esi + 0xc], eax
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
mov ebx, edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
call fcn.00442f2f
cmp eax, 1
movzx ecx, bl
mov dword [esi + 8], edx
mov dword [esi + 0x54], ecx
jne 0x477859
mov edx, dword [esi + 0x34]
mov dword [esi + 0x540], 0xa
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047e05c
pop eax
cmp byte [esi + 0x188], 5
je 0x4779f3
mov eax, dword [esi + 0x188]
cmp al, 4
jne 0x4779ef
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
and dword [esi + 0x18c], 0
lea edx, [esi + 0x188]
mov dword [esi + 0x190], eax
mov byte [esi + 0x188], 7
call fcn.0047e3f8
movzx ecx, al
mov edx, str.invalid_WINDOW_UPDATE_frame
push 0x589dcc
push 0x1b
call fcn.0047f68c
pop eax
pop ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov ecx, 1
add edx, dword [eax + 0x28]
jo 0x47784f
xor ecx, ecx
mov dword [eax + 0x28], edx
mov edx, 0x589ddc
call fcn.0047f7cb
mov eax, dword [esi + 0x18]
add dword [esi + 0xc], 8
mov dword [esi + 0x540], 0xa
lea ecx, [eax + 0x128]
lea edx, [eax + 0x170]
add eax, 0x30
mov dword [esi + 8], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047e05c
pop eax
cmp byte [esi + 0x188], 5
je 0x4779f3
mov eax, dword [esi + 0x188]
cmp al, 4
jne 0x4779ef
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x188]
push dword [esi + 8]
call fcn.00445afb
pop eax
cmp dword [esi + 0x188], 0
je 0x4779fd
mov eax, dword [esi + 0x190]
movsd xmm0, qword [esi + 0x188]
lea ecx, [esi + 0xa8]
mov dword [esi + 0xb0], eax
movsd qword [esi + 0xa8], xmm0
call fcn.004427c4
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0xa8]
mov dword [esi + 0x24], eax
call fcn.004427c4
mov dl, byte [eax + 0x20]
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
push 6
pop edx
cmovae ecx, edx
cmp cl, 3
je 0x477934
movzx ecx, cl
cmp ecx, 4
jne 0x4779ce
cmp byte [eax + 0x21], 0
jne 0x47793e
jmp 0x4779ce
cmp byte [eax + 0x22], 0
je 0x4779ce
lea ecx, [esi + 0xa8]
call fcn.004427c4
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
call fcn.00442f2f
cmp eax, 1
mov dword [esi + 0x1c], edx
jne 0x4779ce
lea ecx, [esi + 0xa8]
call fcn.004427c4
mov eax, dword [eax + 0xcc]
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x188]
mov dword [esi + 0x18c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x190], eax
mov byte [esi + 0x188], 7
call fcn.0047e3f8
movzx ecx, al
mov edx, str.invalid_WINDOW_UPDATE_frame
push 0x589d8c
push 0x1b
call fcn.0047f68c
pop eax
pop ecx
lea ecx, [esi + 0xa8]
call fcn.00442835
mov edx, dword [esi + 0x1c]
mov ecx, 1
add edx, dword [eax + 0x48]
jo 0x4779c4
xor ecx, ecx
mov dword [eax + 0x48], edx
mov edx, 0x589dbc
call fcn.0047f7cb
xor eax, eax
cmp dword [esi + 0x24], 0x3b9aca00
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0xa8]
setne al
push eax
call fcn.004428bc
pop eax
jmp 0x477882
cmp al, 5
jne 0x477a25
mov al, 5
mov dword [esi + 8], eax
jmp 0x4785ed
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047e05c
pop eax
cmp byte [esi + 0x188], 5
mov bl, 5
jne 0x477a3c
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
jmp 0x4785c7
mov ecx, dword [esi + 0x18c]
mov edx, eax
mov dword [esi + 8], eax
shrd edx, ecx, 8
shr ecx, 8
jmp 0x4785e1
mov ebx, dword [esi + 0x188]
cmp bl, 4
jne 0x4785b8
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
lea ecx, [eax + 0xc0]
mov dword [esi + 0x20], ecx
push dword [esi + 0x10]
push dword [esi + 8]
call fcn.0047e0c2
pop ecx
pop edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov eax, dword [eax + 0x188]
mov edx, ecx
lea edi, [ecx + 0xe8]
add edx, 0x108
mov dword [esi + 0x170], edi
mov dword [esi + 0x164], edx
mov dword [esi + 0x174], eax
mov eax, dword [ecx + 0x170]
cmp eax, dword [ecx + 0x174]
jbe 0x477bfa
mov edx, dword [esi + 0x170]
lea ecx, [esi + 0xa8]
push dword [esi + 8]
call fcn.00443b99
pop eax
cmp dword [esi + 0xa8], 0
je 0x477bfa
mov eax, dword [esi + 0xb0]
movsd xmm0, qword [esi + 0xa8]
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x188]
mov dword [esi + 0x190], eax
movsd qword [esi + 0x188], xmm0
call fcn.0044276c
lea ecx, [esi + 0x188]
call fcn.00442835
mov ecx, eax
call fcn.004436fc
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x18c]
mov edx, dword [esi + 0x190]
test eax, eax
mov dword [esi + 0x3cc], edx
mov dword [esi + 0x3c8], ecx
je 0x477bfa
mov ecx, dword [esi + 0x3cc]
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x3c8]
mov dword [esi + 0x190], ecx
lea ecx, [esi + 0x188]
mov dword [esi + 0x18c], eax
call fcn.004427c4
cmp byte [eax + 0xe1], 0
jne 0x477bfa
lea ecx, [esi + 0x188]
call fcn.00442835
mov ecx, dword [esi + 0x20]
mov byte [eax + 0xe1], 1
cmp dword [ecx], 0
je 0x477bc9
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc8]
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x188]
mov dword [esi + 0x1c], eax
call fcn.00442835
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x58], 1
mov edx, dword [esi + 0x18]
mov dword [eax + 0x5c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x18c]
mov ecx, dword [esi + 0x190]
mov dword [edx + 0xc4], eax
mov dword [edx + 0xc8], ecx
jmp 0x477bfa
mov eax, dword [esi + 0x18c]
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x18]
mov dword [edx + 0xc0], 1
mov dword [edx + 0xc4], eax
mov dword [edx + 0xc8], ecx
mov dword [edx + 0xcc], eax
mov dword [edx + 0xd0], ecx
mov dword [esi + 0x3b0], 2
and dword [esi + 0x3c0], 0
mov edx, dword [esi + 0x20]
mov dword [esi + 0x540], 0xd
lea ecx, [esi + 0x178]
push dword [esi + 8]
call fcn.00445a4e
pop eax
cmp dword [esi + 0x178], 0
je 0x477eb5
mov eax, dword [esi + 0x180]
movsd xmm0, qword [esi + 0x178]
mov dword [esi + 0x370], 2
and dword [esi + 0x380], 0
lea ecx, [esi + 0x178]
mov dword [esi + 0x540], 0xf
mov dword [esi + 0x40], eax
movsd qword [esi + 0x38], xmm0
call fcn.004427c4
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0x178]
mov dword [esi + 0x24], eax
call fcn.00442835
add eax, 0x64
lea ecx, [esi + 0x3c8]
mov edx, eax
push dword [esi + 0xc]
call fcn.004742af
pop eax
movzx eax, byte [esi + 0x3c8]
cmp eax, 9
jne 0x477cfc
lea ecx, [esi + 0x38]
mov byte [esi + 6], 1
mov dword [esi + 0x540], 0x10
call fcn.004427c4
cmp byte [eax + 0x20], 5
je 0x478171
mov ecx, dword [esi + 0x40]
xor eax, eax
cmp dword [esi + 0x24], 0x3b9aca00
movsd xmm0, qword [esi + 0x38]
mov byte [esi + 6], 1
lea edx, [esi + 0xa8]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0x28]
setne al
movsd qword [esi + 0xa8], xmm0
push eax
call fcn.004428bc
pop eax
jmp 0x477e5c
test eax, eax
jne 0x477ebe
lea eax, [esi + 0x3d0]
lea ecx, [esi + 0x38]
mov byte [esi + 7], 1
mov dword [esi + 0x540], 0x12
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x60], xmm2
movsd qword [esi + 0x68], xmm1
call fcn.004427c4
mov edi, dword [eax + 0x3c]
lea ecx, [esi + 0x60]
call fcn.004755b4
test eax, eax
je 0x477db9
test edi, edi
jne 0x477dbb
lea ecx, [esi + 0x38]
mov byte [esi + 7], 1
call fcn.00442835
movsd xmm1, qword [esi + 0x70]
lea ecx, [esi + 0xa9]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x60]
mov edx, dword [esi + 0xc]
add eax, 0x64
movsd qword [ecx + 0x17], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [ecx + 0x1f], xmm0
movsd qword [ecx + 7], xmm2
movsd qword [ecx + 0xf], xmm1
xor ecx, ecx
mov byte [esi + 0xa8], cl
mov byte [esi + 7], cl
mov ecx, eax
lea eax, [esi + 0xa8]
push eax
call fcn.0047f6d9
pop eax
jmp 0x477e5c
xor eax, eax
mov ecx, dword [esi + 0x174]
mov edx, 0
cmp eax, ecx
cmovae eax, ecx
test edi, edi
cmovle edi, edx
cmp eax, edi
cmovb edi, eax
test edi, edi
mov dword [esi + 0x1c], edi
je 0x477f88
lea ecx, [esi + 0x38]
mov byte [esi + 7], 1
call fcn.004427c4
mov eax, dword [eax + 0x38]
mov ecx, 0
test eax, eax
cmovle eax, ecx
cmp dword [esi + 0x1c], eax
jbe 0x477f88
lea ecx, [esi + 0x38]
mov byte [esi + 7], 1
call fcn.00442835
movsd xmm1, qword [esi + 0x70]
lea ecx, [esi + 0xa9]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x60]
mov edx, dword [esi + 0xc]
add eax, 0x64
movsd qword [ecx + 0x17], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [ecx + 0x1f], xmm0
movsd qword [ecx + 7], xmm2
movsd qword [ecx + 0xf], xmm1
xor ecx, ecx
mov byte [esi + 0xa8], cl
mov byte [esi + 7], cl
mov ecx, eax
lea eax, [esi + 0xa8]
push eax
call fcn.0047f6d9
pop eax
movzx eax, byte [esi + 0x3c8]
cmp eax, 9
je 0x477e86
test eax, eax
je 0x477e86
cmp eax, 3
je 0x477e86
lea ecx, [esi + 0x3c8]
mov dword [esi + 0x540], 0xf
call fcn.00473930
lea ecx, [esi + 0x368]
mov dword [esi + 0x540], 0xe
call fcn.00473f9e
lea ecx, [esi + 0x368]
mov dword [esi + 0x540], 0xd
call fcn.0043df64
jmp 0x477c0b
mov byte [esi + 0x24], 9
jmp 0x47845e
cmp eax, 3
jne 0x4781dd
push 0xb0
lea eax, [esi + 0x3d0]
push eax
lea eax, [esi + 0xa8]
push eax
call fcn.005282e0
add esp, 0xc
mov eax, dword [esi + 0x14c]
mov edx, dword [esi + 0x38]
mov dword [esi + 0x540], 0x11
lea ecx, [esi + 0x60]
mov dword [esi + 0x184], eax
lea eax, [esi + 0x184]
push eax
call fcn.004458b8
pop eax
cmp dword [esi + 0x60], 0
je 0x478b1f
mov eax, dword [esi + 0x68]
movsd xmm0, qword [esi + 0x60]
lea ecx, [esi + 0x98]
mov dword [esi + 0xa0], eax
movsd qword [esi + 0x98], xmm0
call fcn.00442835
lea ecx, [esi + 0x98]
mov byte [eax + 0xe5], 0
call fcn.004427c4
cmp dword [eax + 0x64], 0
je 0x47823e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x170]
cmp eax, dword [ecx + 0x174]
jbe 0x478230
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x98]
call fcn.0044276c
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x98]
call fcn.004433c3
jmp 0x47823e
mov dword [esi + 0xb0], 2
and dword [esi + 0xc0], 0
lea ecx, [esi + 0x38]
mov dword [esi + 0x540], 0x16
call fcn.00442835
mov edx, dword [esi + 0x1c]
mov edi, eax
mov eax, dword [esi + 0x18]
mov ecx, edi
mov dword [esi + 0x48], edi
add ecx, 0x38
mov eax, dword [eax + 0x114]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x16c], eax
mov eax, dword [edi + 0xd8]
mov dword [esi + 0x168], eax
call fcn.00443712
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x16c]
mov ebx, dword [esi + 0x30]
mov eax, 0
test edi, edi
cmovle edi, eax
cmp edi, ebx
cmovae edi, ebx
mov ebx, dword [ecx + 0xd8]
sub edi, dword [esi + 0x168]
cmovb edi, eax
mov eax, dword [ecx + 0x3c]
sub ebx, edx
mov dword [ecx + 0xd8], ebx
sub dword [ecx + 0xd4], edx
mov edx, 0
test eax, eax
cmovle eax, edx
mov edx, dword [esi + 0x30]
cmp eax, edx
cmovae eax, edx
mov edx, dword [esi + 0x1c]
sub eax, ebx
mov ebx, 0
cmovb eax, ebx
cmp edi, eax
jae 0x478047
call fcn.004436f0
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x10c]
add eax, edx
jo 0x47805a
mov dword [ecx + 0x10c], eax
lea ecx, [esi + 0xa8]
mov dword [esi + 0x540], 0x15
call fcn.00473f9e
lea ecx, [esi + 0xa8]
mov byte [esi + 7], 1
mov dword [esi + 0x540], 0x12
call fcn.0043df64
mov ecx, dword [esi + 0x164]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0xb0], 2
and dword [esi + 0xc0], 0
mov dword [esi + 0x540], 0x14
call fcn.00443712
mov bl, byte [esi + 0x7e]
lea ecx, [esi + 0x60]
call fcn.004755b4
cmp eax, dword [esi + 0x1c]
mov eax, ebx
jbe 0x4780ca
mov eax, ebx
and al, 0xfe
mov byte [esi + 0x7e], al
lea ecx, [esi + 0xa8]
mov byte [esi + 0x48], al
mov byte [esi + 0x30], bl
mov dword [esi + 0x540], 0x13
call fcn.00473f9e
lea ecx, [esi + 0xa8]
mov byte [esi + 7], 1
mov dword [esi + 0x540], 0x12
call fcn.0043df64
movsd xmm0, qword [esi + 0x70]
movsd xmm2, qword [esi + 0x60]
movsd xmm1, qword [esi + 0x68]
mov ebx, dword [esi + 0x1c]
mov edi, dword [esi + 0x3c]
lea eax, [esi + 0x2b8]
mov ch, byte [esi + 0x30]
movzx edx, word [esi + 0x7c]
mov cl, byte [esi + 0x48]
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d8], edi
mov ebx, dword [esi + 0x40]
mov edi, dword [esi + 0x78]
and ch, 1
mov dword [esi + 0x2dc], ebx
mov byte [esi + 0x2e0], ch
mov dword [esi + 0x2e8], edi
mov word [esi + 0x2ec], dx
mov byte [esi + 0x2ee], cl
mov byte [esi + 0x2b0], 0
jmp 0x478260
mov eax, dword [eax + 0x24]
lea ecx, [esi + 0x38]
mov byte [esi + 6], 1
mov dword [esi + 0x1c], eax
call fcn.004427c4
mov eax, dword [eax + 0xcc]
lea ecx, [esi + 0x38]
mov byte [esi + 6], 1
mov dword [esi + 0x30], eax
call fcn.00442835
mov edx, dword [esi + 0x30]
add eax, 0x20
mov byte [esi + 6], 1
mov ecx, eax
push 1
push dword [esi + 0x1c]
call fcn.00445797
pop eax
pop ecx
lea ecx, [esi + 0x38]
mov byte [esi + 6], 1
call fcn.004427c4
mov eax, dword [eax + 0xcc]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2b4], eax
mov dword [esi + 0x2b8], ecx
mov byte [esi + 0x2b0], 8
jmp 0x478260
push 0xb8
lea eax, [esi + 0x3c8]
push eax
lea eax, [esi + 0x188]
push eax
call fcn.005282e0
add esp, 0xc
movzx eax, byte [esi + 0x188]
mov eax, dword [eax*4 + 0x478f58]
add eax, dword [esi + 0x8c]
jmp eax
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x98]
call fcn.00443751
push 0xb0
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0x2b8]
push eax
call fcn.005282e0
add esp, 0xc
mov byte [esi + 0x2b0], 3
movzx eax, byte [esi + 0x3c8]
cmp eax, 9
je 0x478383
test eax, eax
mov dword [esi + 0x540], 0x17
je 0x478383
cmp eax, 3
je 0x478383
lea ecx, [esi + 0x3c8]
call fcn.00473930
jmp 0x478383
lea ecx, [esi + 0x38]
mov dword [esi + 0x540], 0x17
call fcn.004427c4
cmp dword [eax + 0x64], 0
jne 0x4783a9
lea ecx, [esi + 0x38]
call fcn.004427c4
cmp byte [eax + 0x20], 5
jne 0x4783b4
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x38]
call fcn.004433c3
mov ecx, dword [esi + 0x40]
xor eax, eax
cmp dword [esi + 0x24], 0x3b9aca00
movsd xmm0, qword [esi + 0x38]
lea edx, [esi + 0xa8]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0x28]
setne al
movsd qword [esi + 0xa8], xmm0
push eax
call fcn.004428bc
pop eax
mov al, byte [esi + 0x2b0]
mov byte [esi + 0x24], al
push 0x27
lea eax, [esi + 0x2b1]
push eax
lea eax, [esi + 0x480]
push eax
call fcn.005282e0
add esp, 0xc
mov eax, dword [esi + 0x2d8]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x2dc]
mov dword [esi + 0x48], eax
push 0x88
lea eax, [esi + 0x2e0]
push eax
lea eax, [esi + 0x4a8]
push eax
call fcn.005282e0
add esp, 0xc
lea ecx, [esi + 0x368]
mov dword [esi + 0x540], 0xe
call fcn.00473f9e
lea ecx, [esi + 0x368]
mov dword [esi + 0x540], 0xd
call fcn.0043df64
lea ecx, [esi + 0x3a8]
mov dword [esi + 0x540], 0xc
call fcn.00473f9e
lea ecx, [esi + 0x3a8]
mov dword [esi + 0x540], 0xa
call fcn.0043df64
mov cl, byte [esi + 0x24]
test cl, cl
je 0x4784eb
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
movzx eax, cl
cmp eax, 9
jne 0x47850a
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047d2dc
pop eax
cmp byte [esi + 0x188], 5
je 0x478733
mov ebx, dword [esi + 0x188]
cmp bl, 4
jne 0x4785b8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0xc]
push dword [esi + 0x10]
push dword [esi + 8]
call fcn.0047e0c2
pop ecx
pop edx
test al, al
jne 0x4785b0
jmp 0x47873a
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov dword [eax + 0xfc], 1
mov dword [eax + 0x100], edi
mov dword [eax + 0x104], ebx
mov byte [esi + 0x188], cl
push 0x27
lea eax, [esi + 0x480]
push eax
lea eax, [esi + 0x189]
push eax
call fcn.005282e0
add esp, 0xc
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1b4], ebx
push 0x88
lea eax, [esi + 0x4a8]
push eax
lea eax, [esi + 0x1b8]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x188]
call fcn.0047e3f8
movzx ecx, al
mov edx, 0x589c2d
push 0x589c3c
push 0xd
call fcn.0047f68c
pop eax
pop ecx
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x188]
push dword [ebp + 8]
call fcn.0047e05c
pop eax
cmp byte [esi + 0x188], 5
je 0x478733
mov ebx, dword [esi + 0x188]
cmp bl, 4
jne 0x4785b8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0xc]
push dword [esi + 0x10]
push dword [esi + 8]
call fcn.0047e0c2
pop ecx
pop edx
mov ecx, dword [esi + 0x18]
jmp 0x477a93
mov ecx, dword [esi + 0x18c]
mov edx, ebx
shrd edx, ecx, 8
shr ecx, 8
cmp bl, 4
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], edx
je 0x4786c3
movzx eax, bl
mov dword [esi + 8], ebx
cmp eax, 5
je 0x4785ed
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x540], 9
call fcn.00462f94
movzx edx, byte [esi + 0x2e]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x540], 3
call fcn.00462f94
mov eax, dword [esi + 8]
cmp al, 4
jne 0x478a30
mov eax, dword [esi + 0x90]
cmp dword [eax], 0
mov eax, dword [esi + 0x10]
jne 0x47865b
cmp byte [eax + 0x234], 0
jne 0x478a42
cmp dword [eax + 0x210], 0
je 0x478a42
cmp dword [eax + 0x214], 0x7fffffff
je 0x478a42
mov edx, dword [eax + 0x278]
lea ecx, [esi + 0x188]
add edx, 8
call fcn.00426de8
lea ecx, [esi + 0x188]
mov edx, 0x58a0e4
call fcn.00473ac4
mov ecx, dword [eax + 0x174]
movzx edx, dl
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0x17c]
mov dword [esi + 0xc], ecx
mov ecx, eax
call fcn.00462f94
mov eax, dword [esi + 0xc]
or dword [esi + 8], eax
mov eax, dword [esi + 0x10]
jne 0x478a42
mov edx, dword [eax + 0x278]
mov ecx, dword [esi + 0x94]
add edx, 8
call fcn.0047d2a5
jmp 0x47773a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
push dword [eax + 4]
call dword [ecx]
add esp, 4
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x4786ff
mov ecx, dword [esi + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0xb4]
mov dword [esi + 0x540], 0xb
push ecx
call eax
pop eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x54]
mov dword [ecx + 0xb0], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0xb4], eax
mov ecx, dword [esi + 0x58]
mov al, 4
mov dword [esi + 0x540], 9
mov dword [esi + 8], eax
call fcn.00462f94
jmp 0x478602
mov bl, 5
jmp 0x477a1a
mov bl, 4
jmp 0x477a1a
mov edx, dword [esi + 0x90]
mov eax, dword [esi + 0x10]
and dword [esi + 0xb0], 0
and dword [esi + 0xb4], 0
and dword [esi + 0xb8], 0
mov dword [esi + 0xa8], 0x58aacc
mov dword [esi + 0xac], 0x5b9e50
movsd xmm2, qword [edx]
mov ecx, dword [eax + 0x274]
mov bl, byte [eax + 0x271]
movsd xmm0, qword [edx + 0x10]
movsd xmm1, qword [edx + 8]
and dword [eax + 0x280], 0
movsd qword [esi + 0x188], xmm2
mov dword [esi + 8], ecx
mov byte [esi + 0x34], bl
movsd qword [esi + 0x198], xmm0
movsd qword [esi + 0x190], xmm1
mov eax, dword [esi + 0x188]
test eax, eax
je 0x47882e
lea ecx, [esi + 0x3c8]
lea edx, [esi + 0x188]
mov dword [esi + 0x540], 0x1a
call fcn.004231fd
mov eax, dword [esi + 0x19c]
movsd xmm0, qword [esi + 0x3c8]
movsd xmm1, qword [esi + 0x3d0]
lea ecx, [esi + 0xa8]
mov dword [esi + 0x540], 0x19
mov dword [esi + 0x10], eax
movsd qword [esi + 0x2b0], xmm0
movsd qword [esi + 0x2b8], xmm1
call fcn.00404d44
jmp 0x47885f
lea ecx, [esi + 0xa8]
push dword [esi + 0x3cc]
call fcn.0047d264
pop eax
jmp 0x478a49
movsd xmm0, qword [esi + 0xa8]
movsd xmm1, qword [esi + 0xb0]
mov dword [esi + 0x540], 0x18
mov dword [esi + 0x10], 0
movsd qword [esi + 0x2b8], xmm1
movsd qword [esi + 0x2b0], xmm0
movsd xmm0, qword [esi + 0x2b0]
movsd xmm1, qword [esi + 0x2b8]
lea ecx, [esi + 0x188]
mov dword [esi + 0x540], 0x18
movsd qword [esi + 0xb0], xmm1
movsd qword [esi + 0xa8], xmm0
call fcn.0044e7ee
mov ecx, dword [esi + 0x10]
mov eax, ecx
or eax, dword [esi + 8]
je 0x4788c3
test ecx, ecx
je 0x478900
mov edi, dword [esi + 0xb0]
mov edx, dword [esi + 0xa8]
mov eax, dword [esi + 0xac]
mov bl, 2
mov bh, 1
mov dword [esi + 0xc], edi
mov edi, dword [esi + 0xb4]
jmp 0x478935
mov byte [esi + 0x10], 3
jmp 0x478904
mov edi, dword [esi + 0x28]
mov cl, byte [esi + 0xc]
cmp ebx, 0x80000000
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edi
mov byte [esi + 0xa9], cl
mov byte [esi + 0xa8], 2
jne 0x478971
mov eax, 0x80000000
jmp 0x47899c
mov byte [esi + 0x10], 1
lea ecx, [esi + 0xa8]
mov dword [esi + 0x540], 3
call fcn.00404d44
mov ecx, dword [esi + 8]
mov bl, byte [esi + 0x34]
mov bh, byte [esi + 0x10]
mov dword [esi + 0xc], 0
mov eax, 0x5b9e50
mov edx, 0x58aacc
xor edi, edi
mov byte [esi + 0xa8], bh
mov byte [esi + 0xa9], bl
mov dword [esi + 0xac], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], eax
mov dword [esi + 0x540], 2
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edi
jmp 0x478a49
mov dword [esi + 0x540], 4
lea ecx, [esi + 0x188]
mov edx, eax
push edi
call fcn.00421e30
pop eax
mov eax, dword [esi + 0x188]
mov edi, dword [esi + 0x18c]
mov edx, dword [esi + 0x190]
mov bl, byte [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x540], 4
mov byte [esi + 0x189], bl
mov dword [esi + 0x18c], eax
mov dword [esi + 0x194], edx
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x188]
mov dword [esi + 0x190], edi
mov byte [esi + 0x188], 2
push eax
call fcn.0047ddad
pop eax
lea eax, [esi + 0xa9]
movsd xmm0, qword [eax + 0xf]
movsd xmm1, qword [eax + 8]
movsd xmm3, qword [eax]
movsd qword [esi + 0x3d7], xmm0
movsd qword [esi + 0x3d0], xmm1
movsd qword [esi + 0xa9], xmm3
movsd xmm2, qword [esi + 0x3d0]
movsd xmm1, qword [esi + 0x3d7]
movsd qword [esi + 0xb1], xmm2
movsd qword [esi + 0xb8], xmm1
mov byte [esi + 0xa8], 2
jmp 0x478a49
mov edi, dword [esi + 0x88]
movzx eax, al
cmp eax, 5
jne 0x478afe
mov byte [esi + 0xa8], 4
lea ecx, [esi + 0x388]
mov dword [esi + 0x540], 2
call fcn.00473f9e
lea ecx, [esi + 0x388]
mov dword [esi + 0x540], 1
call fcn.0043df64
and dword [esi + 0x540], 0
lea ecx, [esi + 0x278]
call fcn.00473f9e
or dword [esi + 0x540], 0xffffffff
lea ecx, [esi + 0x278]
call fcn.0043df64
movzx eax, byte [esi + 0xa8]
cmp eax, 3
je 0x478ab0
cmp eax, 4
jne 0x478ab8
mov eax, dword [esi + 0x5c]
mov byte [eax], 6
jmp 0x478aea
mov eax, dword [esi + 0x5c]
mov byte [eax], 5
jmp 0x478aea
lea edi, [esi + 0x188]
lea edx, [esi + 0xa8]
mov ecx, edi
call fcn.00442033
movsd xmm0, qword [edi + 0x10]
mov eax, dword [esi + 0x5c]
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
mov eax, dword [esi + 0x538]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 0x84]
lea ecx, [esi + 0xa8]
shld edi, edx, 8
shl edx, 8
or edx, eax
push edi
call fcn.0047d264
pop eax
jmp 0x478a49
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__value
push 0x589c80
call fcn.00536b90
pop eax
jmp 0x478b4d
ud2