Function at 0x468070
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53c460
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
push 0
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x20]
test eax, eax
push 1
push dword [esp + 0x20]
cmovne ecx, eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x20]
test eax, eax
push 3
push dword [esp + 0x20]
cmovne ecx, eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x20]
test eax, eax
push 0x1000
push dword [esp + 0x20]
cmovne ecx, eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [esp + 0x20]
test eax, eax
mov edi, dword [ebp + 8]
cmovne ecx, eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff3
mov dword [esp + 0x20], ecx
cdq
mov ecx, edi
sub eax, edx
push 0xd
mov ebx, eax
lea eax, [esp + 0x18]
push 0xd
sar ebx, 1
push ebx
push 4
push eax
call fcn.004cbc00
test byte [esi + 0x64], 0x80
lea eax, [esp + 0x14]
push 0
push ecx
push eax
push 0xc
push 0xc
push ebx
mov ecx, edi
push 4
je 0x4681d7
mov dword [esp + 0x30], 0xff0275d9
call fcn.004cb9e0
cmp dword [esi + 0xfc], 0
je 0x4681cd
mov eax, dword [esi + 0x114]
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x46819b
mov ecx, dword [eax + 4]
jmp 0x46819d
xor ecx, ecx
lea eax, [ebx + 2]
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x40a00000
push ecx
push dword [edx]
call dword [sym.imp.gdiplus.dll_GdipDrawImage]
mov ecx, eax
test ecx, ecx
je 0x4681cd
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [esp + 0x14], 0xff414141
jmp 0x46820f
mov dword [esp + 0x30], 0xffa0a0a0
call fcn.004cb9e0
cmp dword [esi + 0xfc], 0
je 0x468207
mov eax, dword [esi + 0x114]
push 0x78
mov eax, dword [eax]
mov ecx, dword [eax]
lea eax, [ebx + 2]
push eax
push 5
push ecx
mov ecx, edi
call fcn.004cb6c0
mov dword [esp + 0x14], 0xffa5a5a5
cmp dword [esi + 0xf8], 8
lea ecx, [esi + 0xe4]
jb 0x468220
mov ecx, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
add ebx, 0xffffffea
push eax
push dword [0x5bdc78]
push dword [ebp + 0x10]
push ebx
push 0
push 0x16
push ecx
mov ecx, edi
call fcn.004cc050
test byte [esi + 0x64], 0x40
je 0x4682fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x4682fa
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push ecx
mov dword [esp], 0x3f800000
push 0xff646464
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 1
push 2
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipSetPenDashStyle]
mov ecx, dword [esp + 0x18]
test eax, eax
mov esi, dword [edi + 4]
cmovne ecx, eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffffb
mov dword [esp + 0x18], ecx
sub esp, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x41a00000
push dword [esp + 0x24]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
test eax, eax
je 0x4682eb
mov dword [esi + 4], eax
mov byte [esp + 0x30], 0
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc