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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c639
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x582904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
call fcn.0041df70
mov eax, dword [0x584e60]
push ecx
lea ecx, [edi + 0x84]
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x68], xmm0
movss dword [esp], xmm0
call fcn.0041d4c0
movss xmm0, dword [ebp - 0x68]
push ecx
lea ecx, [edi + 0xa8]
movss dword [esp], xmm0
call fcn.0041d4c0
mov eax, dword [0x584e60]
cmp dword [eax + 0x3c], 0
jne 0x476ab1
movss xmm1, dword [ebp - 0x68]
mulss xmm1, dword [0x541730]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [edi + 0x38]
xorps xmm3, xmm3
movaps xmm0, xmm2
movss dword [ebp - 0x50], xmm2
addss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
ucomiss xmm1, xmm3
movss dword [edi + 0x38], xmm0
lahf
test ah, 0x44
jnp 0x4762b2
mov eax, dword [0x584e60]
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x5420d8]
subss xmm1, xmm0
comiss xmm3, xmm1
movss dword [ebp - 0x44], xmm1
movss dword [edi + 0x44], xmm1
jbe 0x476242
xorps xmm1, xmm1
mov dword [edi + 0x44], 0
movss dword [ebp - 0x44], xmm1
movaps xmm0, xmm1
mulss xmm0, dword [0x54441c]
cvtps2pd xmm0, xmm0
call fcn.005134b0
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x44]
mulss xmm0, dword [0x542138]
cvtps2pd xmm0, xmm0
call fcn.005134b0
movss xmm2, dword [edi + 0x48]
movss xmm3, dword [ebp - 0x44]
mulss xmm2, xmm3
mulss xmm3, dword [0x544414]
cvtsd2ss xmm0, xmm0
mulss xmm3, dword [edi + 0x48]
mulss xmm2, xmm0
mulss xmm3, dword [ebp - 0x60]
mulss xmm2, dword [0x542128]
movss dword [edi + 0x50], xmm3
movss dword [edi + 0x4c], xmm2
movss xmm2, dword [ebp - 0x50]
mov esi, dword [edi + 0x78]
mov dword [ebp - 0x60], esi
cmp esi, dword [edi + 0x7c]
je 0x476a86
movss xmm1, dword [esi + 0x20]
comiss xmm1, xmm2
jb 0x476a77
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jbe 0x476a77
mov eax, dword [esi]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x4762eb.4
jmp dword [eax*4 + 0x476ad4]
inc dword [edi + 0x58]
lea ecx, [edi + 0xa8]
push 3
call fcn.0041cd30
mov edi, eax
mov dword [ebp - 0x64], edi
test edi, edi
je 0x476a6f
push 0x12
push str.fs_comics_subtitle
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00405940
push ecx
mov ecx, dword [0x584e58]
lea eax, [ebp - 0x28]
mov dword [esp], 0x42000000
push eax
mov dword [ebp - 4], 0
call fcn.004491f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
fstp dword [ebp - 0x60]
call fcn.00403450
push 0x20
call fcn.0050b502
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x47639f
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3e800000
mov word [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [eax + 0x14], 0x409130
mov dword [eax], vtable.AlphaChanger.0
jmp 0x4763a1
xor eax, eax
push eax
mov ecx, edi
mov dword [eax + 0x18], 0x3f800000
mov dword [eax + 0x1c], 0
mov byte [eax + 0x12], 1
call fcn.0041c7f0
push 0x20
call fcn.0050b502
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4763fa
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov word [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [eax + 0x14], 0x409130
mov dword [eax], vtable.FontSizeChanger.0
jmp 0x4763fc
xor eax, eax
mov byte [eax + 0x12], 1
mov ecx, edi
movss xmm0, dword [edi + 0x6c]
movss dword [eax + 0x18], xmm0
movss xmm0, dword [ebp - 0x60]
push eax
movss dword [eax + 0x1c], xmm0
call fcn.0041c7f0
push 0x1c
call fcn.0050b502
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x47649d
mov eax, dword [ebp - 0x54]
push dword [eax + 0x58]
push dword [eax + 0x54]
lea eax, [ebp - 0x28]
push str.comics_subtitle__02d__d
push eax
call fcn.00444310
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
or ecx, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x584e54]
push eax
call fcn.00448b30
mov dword [edi + 4], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov word [edi + 0x10], 1
mov byte [edi + 0x12], 0
mov dword [edi + 0x14], 0x409130
mov dword [edi], vtable.TextChanger.0
mov dword [edi + 0x18], eax
jmp 0x47649f
xor edi, edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x4764bb
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
call fcn.004034a0
mov byte [edi + 0x12], 1
push edi
mov edi, dword [ebp - 0x64]
mov ecx, edi
call fcn.0041c7f0
push 0x20
call fcn.0050b502
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x476509
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3e800000
mov word [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [eax + 0x14], 0x409130
mov dword [eax], vtable.AlphaChanger.0
jmp 0x47650b
xor eax, eax
push eax
mov ecx, edi
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0x3f800000
call fcn.0041c7f0
jmp 0x476a6f
mov ecx, edi
call fcn.00477ab0
inc dword [edi + 0x5c]
lea eax, [ebp - 0x28]
push dword [edi + 0x5c]
push dword [edi + 0x54]
push str.comics__02d__d
push eax
call fcn.00444380
add esp, 0x10
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
or eax, 2
mov dword [ebp - 4], 5
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405a30
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004057e0
push 4
push str..ogg
lea ecx, [ebp - 0x40]
call fcn.004057e0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x584e74]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0043fd20
and dword [ebp - 0x4c], 0xfffffffd
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x4765f4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4765ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476acc
push edx
push ecx
call fcn.0050b532
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x584e74]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call fcn.0043fd60
mov dword [edi + 0x64], edx
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x60], eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x476a72
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476648
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476acc
push edx
push ecx
call fcn.0050b532
add esp, 8
jmp 0x476a72
push dword [edi + 0xc]
mov ecx, edi
call fcn.0041e330
jmp 0x476a72
mov eax, dword [esi + 0x24]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x48], eax
jmp 0x476a77
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [esi + 8]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x70]
call fcn.00478ee0
mov eax, dword [edi + 0x70]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
cmp edi, eax
je 0x4766ca
mov ecx, dword [ebp - 0x54]
lea eax, [edi + 0x10]
push eax
lea eax, [esi + 8]
push eax
lea ecx, [ecx + 0x70]
call fcn.0041f400
test al, al
mov eax, dword [ebp - 0x44]
je 0x4766cc
mov edi, eax
cmp edi, eax
jne 0x4766e0
lea eax, [esi + 8]
push eax
push 0
lea ecx, [ebp - 0x74]
call fcn.0043ff50
jmp 0x4766f9
add edi, 0x28
lea eax, [ebp - 0x74]
cmp eax, edi
je 0x4766f9
push dword [ebp - 0x80]
mov ecx, eax
push dword [edi + 4]
push dword [edi]
call fcn.00477bf0
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x64], edi
cmp edi, dword [ebp - 0x70]
je 0x476a60
mov eax, dword [ebp - 0x54]
add eax, 0x68
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x47671b
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476735
sub ecx, dword [ebp - 0x58]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405940
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x58], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x47679a
mov edi, dword [ebp - 0x44]
mov esi, eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0041f400
test al, al
je 0x47677f
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x48]
jmp 0x476786
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x48], ecx
cmp byte [esi + 0xd], 0
je 0x476764
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
cmp ecx, edx
je 0x4767b5
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041f400
test al, al
je 0x4767b8
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4767ec
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4767e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476acc
push edx
push ecx
call fcn.0050b532
add esp, 8
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ecx + 0x68]
je 0x476a51
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x476a51
mov eax, dword [esi]
sub eax, 0
je 0x4769bc
sub eax, 1
je 0x4768a9
sub eax, 3
jne 0x476a51
push 0x20
call fcn.0050b502
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x476868
movss xmm0, dword [esi + 0x24]
mov dword [eax + 4], 1
mov dword [eax + 8], 0
movss dword [eax + 0xc], xmm0
mov word [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [eax + 0x14], 0x409130
mov dword [eax], vtable.ScaleChanger.0
jmp 0x47686a
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, 1
jne 0x476879
mov ecx, 0x409140
jmp 0x476889
cmp edx, 2
mov ecx, 0x409130
mov edx, 0x409150
cmove ecx, edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x14], ecx
movss xmm1, dword [esi + 0x28]
push eax
movss xmm0, dword [edx + 0x44]
movss dword [eax + 0x18], xmm0
movss dword [eax + 0x1c], xmm1
jmp 0x476a4a
push 0x38
call fcn.0050b502
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x476926
movss xmm0, dword [esi + 0x24]
mov dword [eax + 4], 1
mov dword [eax + 8], 0
movss dword [eax + 0xc], xmm0
mov word [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [eax + 0x14], 0x409130
mov dword [eax], vtable.RectChanger.0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
jmp 0x47692b
xor eax, eax
mov dword [ebp - 0x58], eax
mov edx, dword [esi + 4]
cmp edx, 1
jne 0x47693a
mov ecx, 0x409140
jmp 0x47694a
cmp edx, 2
mov ecx, 0x409130
mov edx, 0x409150
cmove ecx, edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x14], ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
call eax
movss xmm1, dword [esi + 0x30]
mov ecx, dword [ebp - 0x48]
movaps xmm0, xmm1
movups xmm2, xmmword [eax]
mov eax, dword [ecx]
movups xmmword [ebp - 0x38], xmm2
addss xmm1, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
addss xmm0, xmm2
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [esi + 0x34]
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x34]
addss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x2c], xmm1
call eax
mov ecx, dword [ebp - 0x48]
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x58]
push eax
movups xmmword [eax + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x28], xmm0
jmp 0x476a4c
push 0x20
call fcn.0050b502
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x476a00
movss xmm0, dword [esi + 0x24]
mov dword [ecx + 4], 1
mov dword [ecx + 8], 0
movss dword [ecx + 0xc], xmm0
mov word [ecx + 0x10], 1
mov byte [ecx + 0x12], 0
mov dword [ecx + 0x14], 0x409130
mov dword [ecx], vtable.AlphaChanger.0
jmp 0x476a02
xor ecx, ecx
mov edx, dword [esi + 4]
cmp edx, 1
jne 0x476a11
mov eax, 0x409140
jmp 0x476a21
cmp edx, 2
mov eax, 0x409130
mov edx, 0x409150
cmove eax, edx
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x14], eax
movss xmm0, dword [esi + 0x2c]
push ecx
movzx eax, byte [edx + 0x43]
movss dword [ecx + 0x1c], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x5415b4]
movss dword [ecx + 0x18], xmm1
mov ecx, edx
call fcn.0041c7f0
add edi, 0x18
mov dword [ebp - 0x64], edi
cmp edi, dword [ebp - 0x70]
jne 0x476711
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00478dd0
mov edi, dword [ebp - 0x54]
movss xmm2, dword [ebp - 0x50]
add esi, 0x38
mov dword [ebp - 0x60], esi
cmp esi, dword [edi + 0x7c]
jne 0x4762c1
movss xmm0, dword [edi + 0x3c]
comiss xmm0, dword [edi + 0x38]
jbe 0x476ab1
movss xmm0, dword [ebp - 0x68]
push ecx
lea ecx, [edi + 0x84]
movss dword [esp], xmm0
call fcn.0041d4c0
movss xmm1, dword [ebp - 0x7c]
jmp 0x4761e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b540
mov esp, ebp
pop ebp
ret
call fcn.00511c7b
nop dword [eax]
bound eax, qword [edi]
inc edi
add byte [edi + 102], dh
inc edi
add byte [edi + 0x66], dl
inc edi
add byte [esi + 0x66], ah
inc edi
add ah, cl
int3