Function at 0x52e4e0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x44], edx
mov edx, edi
shl edx, 0x1d
lea eax, [esi + 0x78]
or edx, dword [ebx + 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ecx
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x4c], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x78]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004301e0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x52e5b7
cmp ecx, dword [esi + 0x7c]
je 0x52e5bd
mov edx, dword [ebx + 0x1c]
cmp dword [edx], 0
je 0x52e582
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x30], 0
jne 0x52e5b7
mov eax, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x30], 0
je 0x52f2a6
mov ecx, dword [ebp - 0x40]
push edx
push dword [ebx + 0x18]
mov edx, dword [ebp - 0x44]
push edi
push dword [ebx + 0x10]
push esi
push dword [ebx + 8]
call fcn.0052e4e0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [esi + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x52f2ca
mov edi, dword [ebx + 0x10]
push 0x100004
push eax
push edi
call fcn.005efd20
add esp, 0xc
test eax, eax
jne 0x52f2ca
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x54]
call fcn.005edff0
add esp, 8
test eax, eax
jne 0x52f2ca
lea eax, [ebp - 0x5c]
push eax
push 3
push dword [ebp - 0x2c]
call fcn.005ee130
mov eax, dword [ebp - 0x54]
add esp, 0xc
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
movups xmm0, xmmword [0x739e10]
mov dword [ebp - 0x28], eax
inc eax
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x4c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
movaps xmmword [ebp - 0x70], xmm0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x18], 0
sar eax, 2
imul eax, eax, 0xcccccccd
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x52e9ba
xor esi, esi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ecx
mov edx, edi
sub ecx, edi
sar ecx, 2
imul eax, ecx, 0xcccccccd
mov ecx, dword [ebp - 0x1c]
dec eax
cmp ecx, eax
jae 0x52e688
mov eax, dword [ebp - 0x10]
inc eax
cmp dword [esi + edi], eax
jl 0x52e97e
mov eax, dword [ebp - 0x24]
cmp dword [esi + edi + 4], eax
jl 0x52e97e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
inc ecx
mov esi, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebx + 0xc]
cmp eax, dword [ecx + 0x38]
jg 0x52e9b7
mov eax, dword [esi + edi + 8]
xor ecx, ecx
mov edx, dword [esi + edi + 0xc]
mov dword [ebp - 8], eax
mov eax, edx
sub eax, dword [ebp - 8]
sar eax, 2
mov dword [ebp - 0x30], 0
test eax, eax
je 0x52e97b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], eax
mov esi, edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x24]
jl 0x52e6f4
mov eax, ecx
mov dword [ebp - 0x44], ecx
jmp 0x52e73c
mov edi, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 2
dec edx
mov eax, dword [edi + ecx*4]
mov edi, dword [ebp - 0x38]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x44], eax
inc eax
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x52e722
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x34]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jge 0x52e736
jmp 0x52e740
jae 0x52e740
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4 + 4]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x28]
jl 0x52e740
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
test eax, eax
jns 0x52e757
mov eax, dword [ebp - 0x40]
mov edx, esi
sub esi, eax
mov dword [ebp - 0x20], eax
inc ecx
sar esi, 2
cmp ecx, esi
jb 0x52e6d7
jmp 0x52e978
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + edi]
cmp eax, dword [ebp - 0x10]
cmovl eax, dword [ebp - 0x10]
mov dword [ecx + edi], eax
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 8], esi
test esi, esi
jne 0x52e7cd
push 0x34
call fcn.005ab82c
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 8], esi
add esp, 4
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x18], eax
add eax, dword [ebp - 0x28]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov edi, dword [ebp - 0x38]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xc]
movd xmm1, dword [esi + 0x18]
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], esi
movd xmm0, dword [eax + 0x34]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 8], xmm1
movd xmm0, dword [eax + 0x38]
movd xmm1, dword [esi + 0x1c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0xc], xmm1
movd xmm0, dword [eax + 0x34]
movd xmm1, dword [esi + 0x20]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x10], xmm1
movd xmm0, dword [eax + 0x38]
lea eax, [edi + 8]
movd xmm1, dword [esi + 0x24]
add eax, ecx
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x40], eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x14], xmm1
mov eax, dword [ecx + edi + 8]
lea eax, [eax + edx*4]
mov edx, dword [ecx + edi + 0xc]
cmp edx, dword [ecx + edi + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ecx + edi]
je 0x52e8b6
cmp dword [ebp - 0x30], edx
jne 0x52e883
mov dword [edx], esi
add dword [eax + 0xc], 4
jmp 0x52e8ce
mov eax, dword [edx - 4]
lea ecx, [edx - 4]
mov esi, dword [ebp - 0x40]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
add eax, 4
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
sub ecx, eax
push ecx
push eax
sub edx, ecx
push edx
call fcn.005c3580
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov esi, dword [ebp - 8]
mov dword [eax], esi
jmp 0x52e8cb
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x30]
lea ecx, [eax + 8]
call fcn.0042c120
mov esi, dword [ebp - 0x20]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edi + 4], 0
mov edx, dword [ecx + edi + 8]
mov eax, dword [ecx + edi + 0xc]
sub eax, edx
mov dword [ebp - 0x20], 0
sar eax, 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], edx
test eax, eax
je 0x52e968
mov esi, dword [ebp - 0xc]
xor edx, edx
mov ecx, edx
nop
mov eax, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0x18]
sub edx, dword [ebp - 0x20]
cmp eax, edx
cmovge edx, eax
mov dword [esi + edi + 4], edx
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + edi + 0xc]
sub eax, dword [ebp - 0x30]
sar eax, 2
dec eax
mov dword [ebp - 0x44], edx
cmp ecx, eax
jne 0x52e94a
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x34]
sub eax, dword [ebp - 0x20]
cmp edx, eax
cmovl edx, eax
mov dword [esi + edi + 4], edx
mov dword [ebp - 0x44], edx
mov eax, dword [esi + edi + 0xc]
inc ecx
sub eax, dword [ebp - 0x30]
sar eax, 2
mov dword [ebp - 0x38], ecx
cmp ecx, eax
jb 0x52e900
cmp dword [ebp - 0x44], 1
mov esi, dword [ebp - 8]
jg 0x52e970
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edi + 4], 0
test esi, esi
jne 0x52ee56
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + edi]
inc ecx
add eax, dword [ebp - 0x18]
add esi, 0x14
mov edx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [edx + 4]
mov eax, ecx
mov edx, dword [edx]
sub eax, edx
sar eax, 2
mov edi, edx
imul eax, eax, 0xcccccccd
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x1c], eax
jb 0x52e663
jmp 0x52e9ba
mov ecx, dword [ebp - 0x30]
sub ecx, edx
xor edi, edi
sar ecx, 2
xor esi, esi
imul eax, ecx, 0xcccccccd
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x52e9e6
xor ecx, ecx
inc edi
lea ecx, [ecx + 0x14]
add edi, dword [edx + ecx - 0x14]
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x52e9d5
mov dword [ebp - 0x38], edi
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x10]
inc ecx
mov eax, dword [edi + 0x38]
sub eax, dword [ebp - 0x38]
cmp eax, ecx
jl 0x52ebd4
mov eax, dword [ebp - 0x24]
cmp dword [edi + 0x34], eax
jl 0x52ebd4
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 8], esi
test esi, esi
jne 0x52ea6a
push 0x34
call fcn.005ab82c
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
add eax, dword [ebp - 0x10]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
movd xmm1, dword [esi + 0x18]
movd xmm0, dword [edi + 0x34]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x74], 0
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 8], xmm1
movd xmm1, dword [esi + 0x1c]
movd xmm0, dword [edi + 0x38]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0xc], xmm1
movd xmm1, dword [esi + 0x20]
movd xmm0, dword [edi + 0x34]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x10], xmm1
movd xmm1, dword [esi + 0x24]
movd xmm0, dword [edi + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
xorps xmm0, xmm0
movss dword [esi + 0x14], xmm1
mov eax, dword [edi + 0x50]
movups xmmword [ebp - 0x84], xmm0
cmp eax, dword [edi + 0x54]
je 0x52eb2b
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add dword [edi + 0x50], 0x14
jmp 0x52eb3b
lea ecx, [ebp - 0x84]
push ecx
push eax
lea ecx, [edi + 0x4c]
call fcn.005334d0
lea ecx, [ebp - 0x7c]
call fcn.00427a90
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x50]
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
lea ecx, [ecx + 2]
mov eax, dword [edi + 0x34]
sub eax, dword [ebp - 0x24]
mov dword [edx + ecx*4 - 4], eax
lea eax, [edx + ecx*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
cmp edx, dword [eax + 8]
je 0x52ebba
cmp ecx, edx
jne 0x52eb8a
mov dword [edx], esi
add dword [eax + 4], 4
jmp 0x52ebcc
mov eax, dword [edx - 4]
lea ecx, [edx - 4]
mov edi, dword [ebp - 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
add eax, 4
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x40]
sub ecx, edi
push ecx
sub edx, ecx
push edi
push edx
call fcn.005c3580
mov dword [edi], esi
add esp, 0xc
mov edi, dword [ebx + 0xc]
jmp 0x52ebcc
lea edx, [ebp - 0x20]
push edx
push ecx
mov ecx, eax
call fcn.0042c120
mov esi, dword [ebp - 0x20]
mov dword [ebp - 8], esi
test esi, esi
jne 0x52ee59
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + 4]
mov dword [ebp - 0x40], edi
mov esi, dword [edi]
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x52ecfb
nop word [eax + eax]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x48], eax
cmp dword [edx + 0x2c], 0
jne 0x52ecee
cmp byte [edx + 0x30], 0
jne 0x52ecee
mov eax, dword [edx + 0x20]
sub eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x24]
inc eax
sub ecx, dword [edx + 0x1c]
inc ecx
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x24]
jb 0x52ecee
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x40]
inc eax
cmp ecx, eax
jb 0x52ecee
mov eax, dword [ebp - 0x14]
mov byte [ebp - 1], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xcccccccd
test eax, eax
je 0x52ecc8
xor esi, esi
mov edi, ecx
nop
push edx
push dword [esi + edi + 0xc]
push dword [esi + edi + 8]
call fcn.005aedc0
mov edx, dword [esi + edi + 0xc]
cmp eax, edx
je 0x52ec9e
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.005c3580
add dword [esi + edi + 0xc], 0xfffffffc
add esp, 0xc
mov eax, dword [esi + edi + 4]
cmp eax, dword [ebp - 0x1c]
mov byte [ebp - 1], 1
cmovb eax, dword [ebp - 0x1c]
mov dword [esi + edi + 4], eax
mov eax, dword [ebp - 0x14]
add esi, 0x14
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x44], ecx
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 2
imul eax, eax, 0xcccccccd
cmp ecx, eax
jb 0x52ec60
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x40]
push dword [edx + 4]
call fcn.005edfc0
mov eax, dword [ebp - 0x38]
add esp, 4
cmp byte [ebp - 1], 0
mov dword [eax + 4], 0
mov byte [eax + 0x30], 1
mov eax, dword [ebp - 0x14]
jne 0x52e631
mov esi, dword [esi]
mov dword [ebp - 0x30], esi
cmp esi, edi
jne 0x52ebf0
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x44], eax
cmp eax, 0x1000
jge 0x52f2b1
mov ecx, dword [esi + 0x40]
lea edx, [eax + eax]
mov dword [ebp - 0x30], ecx
mov eax, 4
mov ecx, dword [esi + 0x38]
mov edi, 1
mov dword [ebp - 0x38], ecx
add ecx, ecx
cmp byte [esi + 0x3c], 0
mov dword [esi + 0x34], edx
cmovne edi, eax
mov dword [esi + 0x38], ecx
mov eax, edi
mov dword [ebp - 0x40], edi
imul eax, ecx
imul eax, edx
push eax
call fcn.005ab960
mov ecx, dword [esi + 0x38]
add esp, 4
imul ecx, dword [esi + 0x34]
mov dword [esi + 0x40], eax
imul ecx, edi
push ecx
push 0
push eax
call fcn.005c3040
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov edi, dword [eax + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x52ed98
mov eax, dword [esi + 8]
mov cl, 0x20
mov edx, dword [esi + 0xc]
call fcn.005eceb0
cmp byte [eax + 0x30], 0
jne 0x52ed92
movups xmm0, xmmword [eax + 8]
movaps xmm1, xmmword [ebp - 0x70]
mulps xmm1, xmm0
movups xmmword [eax + 8], xmm1
mov esi, dword [esi]
cmp esi, edi
jne 0x52ed70
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x52edb1
mov dword [eax + 4], edx
add eax, 0x14
cmp eax, ecx
jne 0x52eda7
mov esi, dword [ebx + 0xc]
xor edi, edi
cmp dword [ebp - 0x38], edi
jbe 0x52edf9
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
imul ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], ecx
nop word [eax + eax]
push ecx
push eax
mov eax, dword [esi + 0x34]
imul eax, edi
imul eax, dword [ebp - 0x40]
add eax, dword [esi + 0x40]
push eax
call fcn.005c3580
mov eax, dword [ebp - 0x44]
inc edi
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add eax, ecx
mov dword [ebp - 0x44], eax
cmp edi, dword [ebp - 0x38]
jb 0x52edd0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x52ee06
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 8]
xor edi, edi
cmp byte [esi + 0x3c], 0
push 0x20000008
push dword [esi + 0x40]
mov ecx, dword [eax + 0x28dc]
push dword [esi + 0x38]
push dword [esi + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
mov eax, 9
cmovne eax, edi
push eax
push str.__font_atlas_
call edx
push dword [ebp - 0x30]
mov dword [esi + 0x44], eax
call fcn.005ab969
add esp, 4
lea ecx, [esi + 0x58]
call fcn.004f6770
mov eax, dword [ebp - 0x14]
jmp 0x52e631
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x18]
lea ecx, [edi + 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00475970
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
movzx eax, byte [edx + 0x2e]
sub eax, 2
je 0x52f0c6
sub eax, 5
jne 0x52f189
cmp byte [edi + 0x3c], al
jne 0x52ef66
mov eax, dword [edi + 0x34]
imul eax, dword [edi + 0x38]
shl eax, 2
push eax
call fcn.005ab960
mov ecx, dword [edi + 0x34]
add esp, 4
imul ecx, dword [edi + 0x38]
mov dword [ebp - 0x44], eax
shl ecx, 2
push ecx
push 0
push eax
call fcn.005c3040
mov eax, dword [edi + 0x34]
add esp, 0xc
imul eax, dword [edi + 0x38]
xor edx, edx
test eax, eax
jle 0x52ef02
mov ecx, dword [ebp - 0x44]
add ecx, 2
nop dword [eax]
mov word [ecx - 2], 0xffff
lea ecx, [ecx + 4]
mov byte [ecx - 4], 0xff
mov eax, dword [edi + 0x40]
mov al, byte [edx + eax]
inc edx
mov byte [ecx - 3], al
mov eax, dword [edi + 0x38]
imul eax, dword [edi + 0x34]
cmp edx, eax
jl 0x52eee0
push dword [edi + 0x40]
mov byte [edi + 0x3c], 1
call fcn.005ab969
mov ecx, dword [edi + 0x44]
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x40], eax
mov byte [edi + 0x48], 0
test ecx, ecx
je 0x52ef28
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 8]
mov edx, 9
cmp byte [edi + 0x3c], 0
push 0x20000008
push dword [edi + 0x40]
mov ecx, dword [eax + 0x28dc]
push dword [edi + 0x38]
mov dword [ebp - 0x44], 0
push dword [edi + 0x34]
mov eax, dword [ecx]
cmovne edx, dword [ebp - 0x44]
push edx
push str.__font_atlas_
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x44], eax
mov byte [esi + 0x31], 1
mov ecx, dword [esi + 0x1c]
imul ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x40]
add ecx, dword [esi + 0x18]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
cmp dword [edx + 0x1c], ecx
jbe 0x52f189
mov esi, eax
nop dword [eax]
mov edx, dword [edx + 0x20]
imul ecx, edx
lea eax, [edx*4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
lea eax, [eax + ecx*4]
push eax
push esi
call fcn.005c3580
mov edx, dword [ebp - 0x10]
add esp, 0xc
xor edi, edi
mov ecx, dword [edx + 0x20]
and ecx, 0x3fffffff
mov dword [ebp - 0x38], ecx
je 0x52f0a8
cmp ecx, 0x10
jb 0x52f086
movups xmm3, xmmword [0x739d10]
mov eax, ecx
and eax, 0xfffffff0
mov dword [ebp - 0x40], eax
lea eax, [esi + 0x20]
movups xmm2, xmmword [eax - 0x20]
add edi, 0x10
lea eax, [eax + 0x40]
movaps xmm1, xmm2
psrld xmm1, 0x10
xorps xmm1, xmm2
andps xmm1, xmm3
movaps xmm0, xmm1
pslld xmm0, 0x10
orps xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm2, xmmword [eax - 0x50]
movaps xmm1, xmm2
psrld xmm1, 0x10
xorps xmm1, xmm2
andps xmm1, xmm3
movaps xmm0, xmm1
pslld xmm0, 0x10
orps xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm2, xmmword [eax - 0x40]
movaps xmm1, xmm2
psrld xmm1, 0x10
xorps xmm1, xmm2
andps xmm1, xmm3
movaps xmm0, xmm1
pslld xmm0, 0x10
orps xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm2, xmmword [eax - 0x30]
movaps xmm1, xmm2
psrld xmm1, 0x10
xorps xmm1, xmm2
andps xmm1, xmm3
movaps xmm0, xmm1
pslld xmm0, 0x10
orps xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp edi, dword [ebp - 0x40]
jb 0x52efe3
cmp edi, ecx
jae 0x52f0a8
mov edx, dword [esi + edi*4]
mov eax, edx
shr eax, 0x10
xor eax, edx
movzx eax, al
mov ecx, eax
shl ecx, 0x10
or ecx, eax
xor ecx, edx
mov dword [esi + edi*4], ecx
inc edi
cmp edi, dword [ebp - 0x38]
jb 0x52f086
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [edi + 0x34]
lea esi, [esi + eax*4]
cmp ecx, dword [edx + 0x1c]
jb 0x52ef90
jmp 0x52f186
cmp byte [edi + 0x3c], 0
je 0x52f144
mov ecx, dword [esi + 0x1c]
imul ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x38], 0
add ecx, dword [esi + 0x18]
cmp dword [edx + 0x1c], 0
lea eax, [eax + ecx*4]
mov dword [ebp - 0x34], eax
jbe 0x52f189
mov ecx, dword [edx + 0x20]
xor esi, esi
test ecx, ecx
je 0x52f128
mov edi, dword [ebp - 0x38]
lea ecx, [eax + 2]
nop
mov word [ecx - 2], 0xffff
lea ecx, [ecx + 4]
mov byte [ecx - 4], 0xff
mov eax, dword [edx + 0x20]
imul eax, edi
add eax, dword [edx + 0x28]
mov al, byte [eax + esi]
inc esi
mov byte [ecx - 3], al
cmp esi, dword [edx + 0x20]
jb 0x52f100
mov edi, dword [ebx + 0xc]
mov ecx, dword [edx + 0x20]
mov eax, dword [edi + 0x34]
mov esi, dword [ebp - 0x34]
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x34], esi
cmp eax, dword [edx + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, esi
jb 0x52f0f3
jmp 0x52f186
mov eax, dword [esi + 0x1c]
xor ecx, ecx
imul eax, dword [edi + 0x34]
mov dword [ebp - 0x44], ecx
add eax, dword [esi + 0x18]
add eax, dword [edi + 0x40]
mov dword [ebp - 0x40], eax
cmp dword [edx + 0x1c], ecx
jbe 0x52f189
mov esi, eax
mov eax, dword [edx + 0x20]
push eax
imul eax, ecx
add eax, dword [edx + 0x28]
push eax
push esi
call fcn.005c3580
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov edx, dword [ebp - 0x10]
inc ecx
add esi, dword [edi + 0x34]
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edx + 0x1c]
jb 0x52f160
mov esi, dword [ebp - 8]
cmp byte [edi + 0x3c], 0
mov ecx, 4
mov eax, 1
cmovne eax, ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x52f1a7
mov ecx, dword [edi + 0x38]
mov eax, dword [esi + 0x24]
cdq
idiv dword [edi + 0x38]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 8]
mov edi, edx
mov edx, dword [ebx + 0xc]
imul esi, dword [ebp - 0x28]
imul eax, dword [edx + 0x34]
push esi
push 0
add eax, dword [ecx + 0x18]
imul eax, dword [ebp - 0x14]
add eax, dword [edx + 0x40]
push eax
call fcn.005c3040
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [eax + 0x34]
imul eax, edi
mov edi, dword [ebx + 0xc]
push esi
mov esi, dword [ebp - 8]
push 0
add eax, dword [esi + 0x18]
imul eax, dword [ebp - 0x14]
add eax, dword [edi + 0x40]
push eax
call fcn.005c3040
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x52f20f
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [edi + 0x34]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
cmp ecx, dword [esi + 0x24]
jge 0x52f270
mov eax, dword [edi + 0x34]
push dword [ebp - 0x14]
imul eax, ecx
mov ecx, dword [ebp - 0x44]
dec ecx
push 0
add eax, ecx
imul eax, dword [ebp - 0x14]
add eax, dword [edi + 0x40]
push eax
call fcn.005c3040
mov eax, dword [edi + 0x34]
add esp, 0xc
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
push ecx
push 0
add eax, dword [ebp - 0x40]
imul eax, ecx
add eax, dword [edi + 0x40]
push eax
call fcn.005c3040
mov ecx, dword [ebp - 0x38]
add esp, 0xc
inc ecx
mov dword [ebp - 0x38], ecx
cmp ecx, dword [esi + 0x24]
jl 0x52f224
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x10]
je 0x52f281
push ecx
call fcn.005edfc0
add esp, 4
mov eax, dword [ebx + 0x10]
mov byte [edi + 0x48], 1
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x40]
sar eax, 6
movd xmm0, eax
mov eax, dword [ebx + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x28], xmm0
mov byte [esi + 0x30], 0
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x2c]
call fcn.005edfc0
add esp, 4
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret