Function at 0x424930
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e287
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4ade78]
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 ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x278], ecx
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x258], ebx
test eax, eax
je 0x4249a7
lea ecx, [ebp - 0x258]
push ecx
push dword [eax + 4]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov ebx, dword [ebp - 0x258]
mov edi, eax
mov dword [ebp - 0x270], edi
jmp 0x4249ad
mov edi, dword [ebp - 0x270]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 4], 0
call fcn.00416e10
test al, al
jne 0x424a0a
mov esi, dword [0x4af2c0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
push eax
call fcn.0046208f
mov esi, dword [ebp - 0x264]
add esp, 8
mov dword [ebp - 0x270], 0
test edi, edi
je 0x424a1f
xor esi, esi
jmp 0x424df8
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x258], 0
test eax, eax
je 0x424a57
lea ecx, [ebp - 0x4c]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
lea eax, [ebp - 0x258]
push eax
je 0x424a5e
lea eax, [ebp - 0x4c]
push eax
push esi
call sub.gdiplus.dll_GdipCreateFontFromLogfontA
jmp 0x424a64
lea eax, [ebp - 0x258]
push eax
push esi
call sub.gdiplus.dll_GdipCreateFontFromDC
mov edi, dword [ebp - 0x258]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x290], edi
mov byte [ebp - 4], 1
test eax, eax
je 0x424a85
xor esi, esi
jmp 0x424df2
mov edx, dword [0x4af2c0]
mov dword [ebp - 0x294], 0
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xe
idiv ecx
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x2a0], 0
cmp edx, 2
jne 0x424af7
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 0x2516beab
div ecx
mov esi, edx
nop
call edi
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
lea esi, [edx - 1]
test esi, esi
jg 0x424ae0
mov edi, dword [ebp - 0x258]
push 3
push dword [ebp - 0x278]
lea eax, [ebp - 0x14c]
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], eax
call fcn.00425530
push 0
push 0
lea eax, [ebp - 0x2a0]
push eax
push 0
lea eax, [ebp - 0x288]
push eax
push edi
push 0xffffffffffffffff
push dword [ebp - 0x150]
mov byte [ebp - 4], 2
push ebx
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
call sub.gdiplus.dll_GdipMeasureString
test eax, eax
je 0x424b70
xor esi, esi
jmp 0x424dd9
mov ecx, dword [ebp + 0x10]
movss xmm1, dword [ebp - 0x294]
movd xmm0, dword [ecx + 4]
mov eax, dword [ecx + 8]
cvtdq2pd xmm0, xmm0
cdq
movsd qword [ebp - 0x280], xmm0
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
sub eax, edx
subss xmm1, xmm0
mov esi, eax
sub esp, 8
sar esi, 1
add esi, dword [ecx]
mulss xmm1, dword [0x492788]
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00427270
fstp qword [ebp - 0x268]
mov edx, dword [0x4af2c0]
movsd xmm0, qword [ebp - 0x280]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x18
idiv ecx
subsd xmm0, qword [ebp - 0x268]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
add esp, 8
movss dword [ebp - 0x280], xmm1
movss dword [ebp - 0x27c], xmm0
cmp edx, 0x10
jne 0x424c5b
mov eax, dword [0x492688]
movq xmm0, qword [str.xreb975mq08]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x26c]
movq qword [ebp - 0x26c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424c33
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
push eax
call fcn.0046208f
add esp, 8
mov ecx, dword [ebp + 0x1c]
movzx edx, cl
mov eax, ecx
shr eax, 8
or edx, 0xffffff00
movzx eax, al
shl edx, 8
or edx, eax
shr ecx, 0x10
movzx eax, cl
shl edx, 8
or edx, eax
lea eax, [ebp - 0x258]
push eax
push edx
mov dword [ebp - method.Gdiplus::Brush.virtual_0], 0x492614
mov dword [ebp - 0x258], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [ebp - 0x258]
mov dword [ebp - 0x268], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x264], 0
test eax, eax
je 0x424cc5
xor esi, esi
jmp 0x424dd3
lea eax, [ebp - 0x260]
push eax
push 0
push 0x5000
mov dword [ebp - 0x260], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov esi, eax
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 4
call fcn.004270b0
test al, al
jne 0x424d1b
push 4
call fcn.00460a63
mov esi, eax
call fcn.00461e71
mov dword [esi], eax
push esi
mov dword [0x4af2c0], eax
call fcn.00460a34
mov esi, dword [ebp - 0x25c]
add esp, 8
mov dword [ebp - 0x25c], 0
test esi, esi
jne 0x424dc6
push esi
push dword [ebp - 0x260]
call sub.gdiplus.dll_GdipSetStringFormatTrimming
test eax, eax
jne 0x424dc0
push 1
push dword [ebp - 0x260]
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
jne 0x424dc0
push 3
push dword [ebp - 0x278]
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x254], eax
call fcn.00425530
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x290]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x254]
lea ecx, [ebp - 0x274]
call fcn.00424ec0
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
inc esi
cmp eax, ecx
je 0x424dc8
push eax
call fcn.00461ea4
add esp, 4
jmp 0x424dc8
mov dword [ebp - 0x25c], eax
xor esi, esi
push dword [ebp - 0x260]
call sub.gdiplus.dll_GdipDeleteStringFormat
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x14c]
cmp eax, ecx
je 0x424df2
push eax
call fcn.00461ea4
add esp, 4
push edi
call sub.gdiplus.dll_GdipDeleteFont
push dword [ebp - 0x274]
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, esi
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.00461234
mov esp, ebp
pop ebp
ret 0x18