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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov esi, esp
mov dword [esi + 0x1a0], ebp
lea eax, [esi + 0x1a8]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x28], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504c10
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov cl, byte [ebp + 0xc]
and dword [eax + 8], 0
mov byte [esi + 9], 1
mov edx, dword [edx]
mov byte [esi + 0x13], cl
lea ecx, [esi + 0xe8]
add edx, 8
call fcn.00426de8
lea ecx, [esi + 0xe8]
mov edx, 0x58a024
mov byte [esi + 9], 1
call fcn.00473ac4
mov byte [esi + 0x11], dl
mov edx, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov byte [esi + 0xa], 1
mov dword [esi + 0x1b0], 1
mov ecx, dword [edx + 4]
mov dword [esi + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esi + 0x20], ecx
mov ecx, eax
add eax, 8
add edx, 8
add ecx, 0x128
mov dword [esi + 0x44], eax
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0xe8]
call fcn.0045053e
lea ecx, [esi + 0xe8]
mov edx, 0x58a034
mov byte [esi + 0xa], 1
call fcn.00473b4f
mov byte [esi + 0x10], dl
mov ecx, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x90]
mov byte [esi + 0xb], 1
mov dword [esi + 0x1b0], 3
add ecx, 8
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esi + 0x13]
movsd qword [esi + 0xa8], xmm0
movsd qword [esi + 0xa0], xmm1
movsd qword [esi + 0x98], xmm2
mov dword [esi + 0xb0], ecx
lea ecx, [esi + 0x44]
mov dword [esi + 0xb4], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0xb8], eax
call fcn.004427c4
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0x68]
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x98]
push 0x28
push eax
push ecx
call fcn.005282e0
add esp, 0xc
lea ecx, [esi + 0x18]
mov byte [esi + 7], 1
mov dword [esi + 0x1b0], 4
call fcn.004427c4
mov eax, dword [eax + 0xcc]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
test eax, eax
movsd qword [esi + 0xf8], xmm0
movsd qword [esi + 0xf0], xmm1
movsd qword [esi + 0xe8], xmm2
je 0x4753ac
mov ecx, dword [esi + 0x80]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
mov dl, byte [ecx]
mov ecx, dword [esi + 0x84]
mov ebx, dword [ecx]
lea ecx, [esi + 0x48]
mov byte [esi + 0xc], dl
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x88]
mov byte [ecx + 0x1c], 0
mov byte [ecx + 0x1e], dl
mov edi, dword [eax]
mov eax, dword [esi + 0x2c]
add eax, 0x170
mov dword [esi + 0x28], eax
call fcn.004755b4
test eax, eax
js 0x47519e
lea ecx, [esi + 0x18]
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], edi
mov byte [esi + 8], 1
mov dword [esi + 0x1b0], 5
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, 5
je 0x475099
movzx ecx, cl
cmp ecx, 3
jne 0x4751a4
cmp byte [eax + 0x21], 0
je 0x4751a4
lea ecx, [esi + 0x18]
mov byte [esi + 8], 1
call fcn.00442835
mov ecx, dword [esi + 0x24]
add dword [eax + 0xd8], ecx
mov dword [esi + 0xc8], 2
and dword [esi + 0xd8], 0
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
mov dword [esi + 0x1b0], 7
call fcn.004427c4
mov eax, dword [eax + 0xd4]
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
mov dword [esi + 0x14], eax
call fcn.004427c4
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x34]
cmp edx, dword [eax + 0xd8]
lea ecx, [ecx + 0xb8]
mov dword [esi + 0x24], ecx
jae 0x475144
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.004427c4
mov eax, dword [eax + 0xd8]
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
mov dword [esi + 0x14], eax
call fcn.00442835
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esi + 0x24]
mov byte [esi + 6], 1
call fcn.0044346d
cmp byte [esi + 0xc], 0
je 0x47521b
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.00442835
mov cl, byte [eax + 0x20]
mov edx, eax
add edx, 0x20
add cl, 0xfa
cmp cl, 6
movzx edi, cl
push 6
pop ecx
cmovb ecx, edi
cmp cl, 3
je 0x4751d3
movzx eax, cl
cmp eax, 5
jne 0x4753cb
mov ecx, edx
mov dword [esi + 0x1b0], 8
mov dword [esi + 0xc], edx
call fcn.0043c337
mov eax, dword [esi + 0xc]
mov byte [eax], 3
jmp 0x4751fa
mov byte [esi + 0xc], 2
jmp 0x4751b8
lea ecx, [esi + 0x18]
mov byte [esi + 8], 1
call fcn.004427c4
cmp byte [eax + 0x20], 6
setae byte [esi + 0xc]
lea ecx, [esi + 0x48]
mov byte [esi + 7], 0
mov dword [esi + 0x1b0], 4
call fcn.0047397c
jmp 0x47532b
mov dword [esi + 0xc], eax
mov al, byte [eax + 0x22]
mov ecx, edx
mov dword [esi + 0x1b0], 9
mov byte [esi + 0x14], al
call fcn.0043c337
mov eax, dword [esi + 0xc]
mov cl, byte [esi + 0x14]
mov byte [eax + 0x20], 0xa
mov byte [eax + 0x21], cl
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x18]
mov byte [esi + 6], 1
mov dword [esi + 0x1b0], 7
xor edx, edx
push dword [esi + 0x28]
push eax
call fcn.004437dd
pop eax
pop ecx
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.004427c4
cmp dword [eax + 0x3c], 0
jle 0x475280
movsd xmm1, qword [esi + 0x58]
mov edi, dword [esi + 0x34]
lea edx, [esi + 0xe8]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x48]
mov ecx, dword [esi + 0x24]
xor eax, eax
mov byte [esi + 6], al
movsd qword [edx + 0x18], xmm1
movsd xmm1, qword [esi + 0x50]
add edi, 0xa8
movsd qword [edx + 0x20], xmm0
movsd qword [edx + 8], xmm2
movsd qword [edx + 0x10], xmm1
mov byte [edx], al
push edi
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x30]
call fcn.00473e60
add esp, 0xc
jmp 0x4752f5
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.004427c4
cmp dword [eax + 0xd8], 0
je 0x47522d
lea ecx, [esi + 0x18]
mov byte [esi + 6], 1
call fcn.00442835
movsd xmm1, qword [esi + 0x58]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x48]
mov edx, dword [esi + 0x30]
xor ecx, ecx
add eax, 0x64
mov byte [esi + 6], cl
movsd qword [esi + 0x100], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x108], xmm0
movsd qword [esi + 0xf0], xmm2
movsd qword [esi + 0xf8], xmm1
mov byte [esi + 0xe8], cl
mov ecx, eax
lea eax, [esi + 0xe8]
push eax
call fcn.00473faf
pop eax
lea ecx, [esi + 0xc0]
mov byte [esi + 0x12], 0
mov dword [esi + 0x1b0], 6
call fcn.00473f9e
lea ecx, [esi + 0xc0]
mov byte [esi + 8], 0
mov dword [esi + 0x1b0], 5
call fcn.0043df64
mov byte [esi + 0xc], 0xc
xor eax, eax
cmp dword [esi + 0x3c], 0x3b9aca00
mov ecx, dword [esi + 0x28]
mov byte [esi + 0xb], 0
mov dword [esi + 0x1b0], 3
lea edx, [esi + 0x18]
setne al
push eax
call fcn.004428bc
pop eax
movzx edx, byte [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov byte [esi + 0xa], 0
mov dword [esi + 0x1b0], 1
call fcn.00462f94
movzx edx, byte [esi + 0x11]
mov ecx, dword [esi + 0x2c]
and dword [esi + 0x1b0], 0
mov byte [esi + 9], 0
call fcn.00462f94
mov dl, byte [esi + 0xc]
mov ecx, dword [esi + 0x40]
mov al, 5
cmp dl, 0xc
je 0x475395
mov al, 3
mov byte [ecx + 1], dl
mov byte [ecx], al
mov ecx, dword [esi + 0x1a8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x1b0], 0xa
push 0x26
pop edx
mov ecx, str.assertion_failed:__stream_id.is_zero__
push 0x589a0c
call fcn.00536b90
pop eax
jmp 0x47540c
lea eax, [esi + 0x94]
lea ecx, [esi + 0xe8]
mov byte [esi + 6], 1
mov dword [eax], edx
lea edx, [esi + 0xe0]
mov dword [ecx], 0x572eb8
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], 0x43a6a0
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x572ec0
mov dword [ecx + 0xc], eax
call fcn.00536a40
ud2