Function at 0x4979b0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54896b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x2c]
mov esi, dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
mov dword [esp + 0x48], 0
call esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x90], 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
mov dword [esp + 0x1c], 0
call esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 1
mov esi, dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
push 0
push dword [esp + 0x40]
call esi
mov ecx, dword [esp + 0x40]
test eax, eax
push 3
push dword [esp + 0x40]
cmovne ecx, eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x40]
test eax, eax
push 1
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x48], ecx
call esi
mov ecx, dword [esp + 0x14]
test eax, eax
push 1
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 3
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x118], 2
jne 0x497aec
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x44]
mov dword [esp + 0x74], 0x3f800000
push eax
mov eax, dword [esp + 0x64]
push 0
push ecx
mov dword [esp], 0x3f800000
push dword [eax]
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x54], 0
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x48], eax
mov byte [esp + 0x90], 2
lea eax, [esp + 0x74]
push 2
push eax
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipSetPenDashArray]
mov ecx, dword [esp + 0x48]
test eax, eax
mov esi, dword [ebp + 0x18]
cmovne ecx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
lea eax, [esi - 1]
push eax
push dword [ebp + 0x14]
mov dword [esp + 0x78], eax
push 0
push 0
push dword [esp + 0x34]
call fcn.004cbc00
push 0
push ecx
push dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
lea eax, [esi - 2]
push eax
mov eax, dword [ebp + 0x14]
dec eax
push eax
push 0
push 0
call fcn.004cb9e0
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
test eax, eax
je 0x497bb2
mov eax, dword [edi + 0x140]
mov eax, dword [eax]
mov ecx, dword [eax + 0x68]
sub ecx, dword [edi + 0x13c]
mov dword [esp + 0x24], ecx
jmp 0x497bbc
mov eax, dword [edi + 0x13c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
test eax, eax
je 0x497bdf
mov eax, dword [edi + 0x140]
mov eax, dword [eax]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x497be1
xor ebx, ebx
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x30], ebx
mov eax, dword [eax + 0x118]
cmp eax, 3
ja case.default.0x497bf6
jmp dword [eax*4 + 0x498b38]
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0x98]
jmp 0x497c33
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0x9c]
jmp 0x497c33
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0xa0]
jmp 0x497c33
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0xa4]
mov esi, dword [eax]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x497c52
mov dword [esi + 8], eax
sub ebx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
push dword [esi + 4]
shr ebx, 1
mov dword [esp + 0x28], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x497c75
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x18]
sub esp, 8
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
shr ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x54], eax
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipDrawImage]
mov ecx, eax
test ecx, ecx
je 0x497cc1
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x118]
test eax, eax
je 0x497cd8
cmp eax, 3
jne 0x497dfb
cmp dword [ecx + 0x1c0], 0
je 0x497dfb
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x497d02
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x1bc]
push ecx
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0x94]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, eax
test ecx, ecx
je 0x497d3f
mov eax, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x64]
push eax
push dword [esi + 4]
mov dword [esp + 0x6c], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x497d64
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1bc]
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x64]
push ecx
mov dword [esp + 0x50], 0
mov eax, dword [eax + 0x94]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x497d9d
mov eax, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x1bc]
sub esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
add esi, ebx
mov eax, dword [eax + 0x94]
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
test eax, eax
je 0x497dc1
mov eax, dword [eax + 4]
jmp 0x497dc3
xor eax, eax
mov ecx, dword [esp + 0x54]
sub esp, 8
sub ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x24]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawImage]
test eax, eax
je 0x497dfb
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov esi, dword [ebp + 0x18]
add esi, 0xfffffff8
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x40]
dec eax
movd xmm0, esi
add eax, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm1
push dword [esp + 0x54]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
test eax, eax
je 0x497e4e
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 1
jbe 0x497e76
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x68]
sub ecx, dword [edi + 0x13c]
jmp 0x497e7c
mov ecx, dword [edi + 0x13c]
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
mov dword [esp + 0x34], ecx
cmp eax, 1
jbe 0x497ea5
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x497ea7
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
cmp dword [eax + 0x19c], 0
je 0x497fc7
mov eax, dword [edi + 0x1bc]
lea ebx, [ecx + 0xa]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
push ecx
mov eax, dword [eax + 0xa8]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, eax
test ecx, ecx
je 0x497ef4
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x18]
sub edx, dword [esp + 0x24]
shr edx, 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], 0
lea esp, [esp]
cmp ebx, dword [esp + 0x20]
jg 0x498055
mov eax, dword [edi + 0x1bc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xa8]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
test eax, eax
je 0x497f3c
mov eax, dword [eax + 4]
jmp 0x497f3e
xor eax, eax
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ecx]
call dword [sym.imp.gdiplus.dll_GdipDrawImage]
test eax, eax
je 0x497f6e
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x1bc]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0
mov eax, dword [eax + 0xa8]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x497fa3
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
add eax, 2
add ebx, eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, 0x14
jl 0x497f10
jmp 0x498055
push 5
push dword [esp + 0x40]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x40]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
add eax, 0x20
mov dword [esp + 0x40], ecx
cmp dword [eax + 0x14], 8
jb 0x497fef
mov eax, dword [eax]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push dword [0x5bdc8c]
add ebx, 0xfffffffa
add ecx, 3
push dword [edi + 0x1a4]
push ebx
push 4
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.004cbda0
mov eax, dword [esp + 0x28]
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x49802b
mov eax, dword [eax]
push dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
push dword [0x5bdc78]
mov ecx, dword [esp + 0x40]
push dword [0x5bdc9c]
add ecx, 3
push ebx
push 0x14
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.004cbda0
mov eax, dword [esp + 0x18]
sub esp, 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x30]
dec eax
add eax, dword [esp + 0x44]
movss dword [esp + 0xc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm0
push dword [esp + 0x54]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
test eax, eax
je 0x4980a2
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 2
jbe 0x4980ce
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x68]
sub ecx, dword [edi + 0x13c]
mov dword [esp + 0x20], ecx
jmp 0x4980d8
mov eax, dword [edi + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 2
jbe 0x4980fd
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x4980ff
xor ebx, ebx
push 2
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 0x1000
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x50
cmp dword [ecx + 0x14], 8
jb 0x498143
mov ecx, dword [ecx]
push dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push dword [0x5bdc78]
lea eax, [ebx - 9]
push dword [ebp + 0x18]
push eax
push 0
push dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004cbda0
mov eax, dword [esp + 0x18]
sub esp, 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x2c], ecx
add eax, ebx
movss dword [esp + 0xc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm0
push dword [esp + 0x54]
push dword [ecx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
mov ecx, eax
test ecx, ecx
je 0x4981be
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 3
jbe 0x4981e6
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x68]
sub edx, dword [edi + 0x13c]
jmp 0x4981ec
mov edx, dword [edi + 0x13c]
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
mov dword [esp + 0x24], edx
cmp eax, 3
jbe 0x498215
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x498217
xor ebx, ebx
mov ecx, dword [esp + 0x28]
add ecx, 0x68
cmp dword [ecx + 0x14], 8
jb 0x498226
mov ecx, dword [ecx]
push dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push dword [0x5bdc78]
lea eax, [ebx - 6]
push dword [ebp + 0x18]
push eax
push 0
push edx
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004cbda0
mov eax, dword [esp + 0x18]
sub esp, 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x2c], ecx
add eax, ebx
movss dword [esp + 0xc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm0
push dword [esp + 0x54]
push dword [ecx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
mov ecx, eax
test ecx, ecx
je 0x49829e
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 5
jbe 0x4982ca
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x68]
sub ecx, dword [edi + 0x13c]
mov dword [esp + 0x20], ecx
jmp 0x4982d4
mov eax, dword [edi + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 5
jbe 0x4982f9
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x4982fb
xor ebx, ebx
push 1
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 1
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
sub eax, 0xffffff80
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x14], 8
jb 0x49833c
mov eax, dword [eax]
push dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push dword [0x5bdc78]
mov ecx, dword [esp + 0x24]
push dword [ebp + 0x18]
push ebx
push 0
push dword [esp + 0x38]
push eax
call fcn.004cbda0
mov eax, dword [esp + 0x18]
sub esp, 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x2c], ecx
add eax, ebx
movss dword [esp + 0xc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm0
push dword [esp + 0x54]
push dword [ecx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
mov ecx, eax
test ecx, ecx
je 0x4983b4
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 4
jbe 0x4983e0
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x68]
sub ecx, dword [edi + 0x13c]
mov dword [esp + 0x20], ecx
jmp 0x4983ea
mov eax, dword [edi + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 4
jbe 0x49840f
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x70]
sub ebx, dword [eax + 0x68]
jmp 0x498411
xor ebx, ebx
push 0
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 1
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 0x2000
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [esp + 0x14]
test eax, eax
push 3
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x1a4
cmp dword [ecx + 0x14], 8
jb 0x49848a
mov ecx, dword [ecx]
push dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push dword [0x5bdc78]
lea eax, [ebx - 5]
push dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x34]
push 0
add eax, 5
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004cbda0
mov eax, dword [esp + 0x18]
sub esp, 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x2c], ecx
add eax, ebx
movss dword [esp + 0xc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x41000000
movss dword [esp], xmm0
push dword [esp + 0x54]
push dword [ecx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
mov ecx, eax
test ecx, ecx
je 0x498509
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 6
jbe 0x498531
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 0x68]
sub ebx, dword [edi + 0x13c]
jmp 0x498537
mov ebx, dword [edi + 0x13c]
mov eax, dword [edi + 0x144]
sub eax, dword [edi + 0x140]
sar eax, 2
cmp eax, 6
jbe 0x49855c
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x70]
sub ecx, dword [eax + 0x68]
jmp 0x49855e
xor ecx, ecx
mov eax, ecx
mov dword [esp + 0x30], ecx
cdq
sub eax, edx
push 1
push dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0x2c], eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 1
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push 3
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x98
cmp dword [ecx + 0x14], 8
jb 0x4985ca
mov ecx, dword [ecx]
push dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push dword [0x5bdc8c]
lea eax, [ebx + 3]
push dword [ebp + 0x18]
push dword [esp + 0x34]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004cbda0
mov ecx, dword [esp + 0x28]
add ecx, 0xb0
cmp dword [ecx + 0x14], 8
jb 0x498602
mov ecx, dword [ecx]
push dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push dword [0x5bdc78]
mov eax, dword [esp + 0x30]
push dword [ebp + 0x18]
push eax
add eax, 3
push 0
invalid