Function at 0x54c620
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585667
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x6c], xmm3
mov esi, ecx
movzx eax, word [ebp + 8]
movzx ecx, word [esi + 0xa4]
movsd xmm1, qword [0x5ea578]
movsx ebx, ax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], edi
lea eax, [ebx + 1]
movd xmm0, eax
xor eax, eax
cvtdq2pd xmm0, xmm0
cmp ecx, 0x40
sete al
mulsd xmm0, qword [0x5ea500]
lea eax, [eax*2 + 0xa4]
add eax, esi
push eax
xor eax, eax
cmp ecx, 0x40
subsd xmm1, xmm0
setne al
movsd xmm0, qword [0x5ea4f0]
add eax, 0x1f
push eax
lea eax, [ebp - 0x50]
push eax
maxsd xmm0, xmm1
movsd qword [ebp - 0x78], xmm0
call fcn.00565fee
mov eax, dword [esi + 0xa44]
lea edx, [ebp - 0x58]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, byte [esi + 0xad9]
push eax
push dword [ebp - 0x58]
call fcn.00544c00
movsd xmm0, qword [esi + 0xe8]
lea edx, [ebp - 0x54]
mulsd xmm0, qword [0x5ea650]
mov ecx, dword [esi + 0xa44]
push edx
push str.ja_jp
push ecx
mulsd xmm0, qword [edi + 0x30]
lea edx, [ebp - 0x50]
mov eax, dword [ecx]
divsd xmm0, qword [0x5ea630]
divsd xmm0, qword [edi + 0x20]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [ebp - 0x78]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 5
push 0
push dword [ebp - 0x5c]
push 0
push edx
push ecx
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x54]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x54]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x586710
push 0x18
call fcn.00560ada
add esp, 8
mov edi, eax
lea eax, [ebx + 0x1fb]
mov dword [ebp - 0x5c], edi
lea eax, [esi + eax*4]
mov dword [ebp - 0x64], eax
test edi, edi
je 0x54c7b9
mov dword [edi + 4], 0
mov dword [edi], vtable.FlowLayoutSource.0
mov dword [edi + 8], 0x43960000
mov dword [edi + 0xc], 0x43960000
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [ebx + 0x1fb]
lea eax, [esi + eax*4]
mov dword [ebp - 0x64], eax
jmp 0x54c7bb
xor edi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x54c7d6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebx + 0x1fb]
lea eax, [esi + eax*4]
mov dword [eax], 0
push 0x586710
push 0x40
mov dword [eax], edi
call fcn.00560ada
mov edi, eax
add esp, 8
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x54c82f
mov edx, dword [esi + 0xa44]
push ecx
mov ecx, esp
mov dword [ecx], edx
test edx, edx
je 0x54c805
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov ecx, edi
call fcn.00513d60
mov ecx, eax
lea edi, [ebx + 0x205]
mov dword [ebp - 0x60], ecx
lea edi, [esi + edi*4]
mov dword [ebp - 0x5c], edi
test ecx, ecx
je 0x54c842
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
jmp 0x54c83f
lea edi, [ebx + 0x205]
mov dword [ebp - 0x60], 0
lea edi, [esi + edi*4]
mov dword [ebp - 0x5c], edi
mov ecx, dword [edi]
test ecx, ecx
je 0x54c854
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
mov eax, dword [ebp - 0x60]
push 0x586710
push 0x228
mov dword [edi], eax
call fcn.00560ada
mov edi, eax
add esp, 8
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x54c89b
mov ecx, dword [esi + 0xa44]
push ecx
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x54c890
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, edi
call fcn.00513ef0
mov edi, eax
jmp 0x54c89d
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x54c8ae
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + ebx*4 + 0x83c]
test ecx, ecx
je 0x54c8bf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x64]
mov dword [esi + ebx*4 + 0x83c], edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x54c9f9
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x54c9f9
test edi, edi
je 0x54c9f9
mov dword [edi + 8], ecx
mov ecx, dword [esi + ebx*4 + 0x83c]
mov eax, dword [eax]
push ecx
mov dword [ecx + 0xc], eax
mov eax, esp
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
test ecx, ecx
je 0x54c908
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + ebx*4 + 0x83c]
xor edx, edx
call fcn.0043a8d0
test eax, eax
jne 0x54c9fe
movsd xmm0, qword [esi + 0xe8]
mulsd xmm0, qword [0x5ea650]
mov eax, dword [ebp - 0x68]
mov edx, dword [esi + 0xa44]
push 0
push ecx
mulsd xmm0, qword [eax + 0x30]
mov ecx, dword [esi + ebx*4 + 0x83c]
divsd xmm0, qword [0x5ea630]
divsd xmm0, qword [eax + 0x20]
movzx eax, byte [esi + 0xad9]
push eax
sub esp, 8
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [ebp - 0x78]
cvtpd2ps xmm0, xmm0
movss dword [esp + 4], xmm0
push dword [ebp - 0x58]
call fcn.0043a5c0
test eax, eax
jne 0x54c9fe
mov ecx, dword [esi + ebx*4 + 0x83c]
mov al, byte [esi + 0x3d5]
mov byte [ecx + 0xf1], al
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x54c9a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x54c9bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x58], 0
mov edx, dword [esi + ebx*4 + 0x83c]
movzx eax, word [edx + 0x62]
movzx ecx, word [edx + 0x64]
add ecx, eax
movzx eax, word [edx + 0x60]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
xor eax, eax
mulss xmm1, dword [edx + 0x74]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [ebp - 0x6c]
movss dword [esi + ebx*4 + 0xc14], xmm1
jmp 0x54c9fe
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8