Function at 0x549540
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584e77
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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
mov ebx, ecx
movzx edx, word [ebx + 0xa4]
xor eax, eax
movzx esi, word [ebp + 8]
cmp edx, 0x40
mov edi, dword [ebp + 0xc]
sete al
lea eax, [eax*2 + 0x170]
add eax, ebx
push eax
xor eax, eax
cmp edx, 0x40
setne al
add eax, 0x1f
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00565fee
mov eax, dword [ebx + 0xa44]
lea edx, [ebp - 0x58]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, byte [ebx + 0xad8]
push eax
push dword [ebp - 0x58]
call fcn.00544c00
movsd xmm0, qword [ebx + 0xe8]
mulsd xmm0, qword [0x5ea650]
movsx eax, si
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
mov edx, dword [ebx + 0xa44]
mulsd xmm0, qword [edi + 0x30]
push str.ja_jp
mov ecx, dword [edx]
push ecx
divsd xmm0, qword [0x5ea630]
divsd xmm0, qword [edi + 0x20]
mov edi, dword [ebp - 0x5c]
lea eax, [edi + 1]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, eax
lea eax, [ebp - 0x50]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x5ea500]
addsd xmm0, qword [0x5ea578]
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push 5
push 0
push dword [ebp - 0x64]
push 0
push eax
push edx
call dword [ecx + 0x3c]
movzx esi, word [ebx + 0xa48]
mov eax, 2
mov ecx, dword [ebp - 0x54]
cmp esi, 0x40
mov dword [ebp - 0x5c], 0
cmovne eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x54]
cmp esi, 0x40
mov eax, 3
mov dword [ebp - 0x5c], 0
cmovne eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x1c]
push 0x586710
push 0x18
call fcn.00560ada
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
lea eax, [edi + 0x219]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x64], eax
test esi, esi
je 0x5496ec
mov dword [esi + 4], 0
mov dword [esi], vtable.FlowLayoutSource.0
mov dword [esi + 8], 0x43960000
mov dword [esi + 0xc], 0x43960000
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [edi + 0x219]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x64], eax
jmp 0x5496ee
xor esi, esi
mov ecx, dword [eax]
test ecx, ecx
je 0x549709
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [edi + 0x219]
lea eax, [ebx + eax*4]
mov dword [eax], 0
push 0x586710
push 0x40
mov dword [eax], esi
call fcn.00560ada
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x549762
mov edx, dword [ebx + 0xa44]
push ecx
mov ecx, esp
mov dword [ecx], edx
test edx, edx
je 0x549738
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov ecx, esi
call fcn.00513d60
mov ecx, eax
lea esi, [edi + 0x223]
mov dword [ebp - 0x60], ecx
lea esi, [ebx + esi*4]
mov dword [ebp - 0x5c], esi
test ecx, ecx
je 0x549775
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
jmp 0x549772
lea esi, [edi + 0x223]
mov dword [ebp - 0x60], 0
lea esi, [ebx + esi*4]
mov dword [ebp - 0x5c], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x549787
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [ebp - 0x60]
push 0x586710
push 0x228
mov dword [esi], eax
call fcn.00560ada
mov esi, eax
add esp, 8
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x5497ce
mov ecx, dword [ebx + 0xa44]
push ecx
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x5497c3
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, esi
call fcn.00513ef0
mov esi, eax
jmp 0x5497d0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5497e1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + edi*4 + 0x8b4]
test ecx, ecx
je 0x5497f2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x64]
mov dword [ebx + edi*4 + 0x8b4], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x549879
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x549879
test esi, esi
je 0x549879
mov dword [esi + 8], ecx
mov ecx, dword [ebx + edi*4 + 0x8b4]
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 0x54982f
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebx + edi*4 + 0x8b4]
xor edx, edx
call fcn.0043a8d0
test eax, eax
jne 0x54987e
mov ecx, dword [ebx + edi*4 + 0x8b4]
mov al, byte [ebx + 0x3d5]
mov byte [ecx + 0xf1], al
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x549868
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x549875
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
jmp 0x54987e
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