Function at 0x455e40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipCreatePen1]
lea eax, [ebp - 0x438]
push edi
push eax
push 0
push ecx
fld1
mov edi, edx
fstp dword [esp]
mov ebx, ecx
mov dword [ebp - 0x428], edi
push 0xffff0000
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x438], 0
call esi
fld dword [0x55dad8]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x448]
push eax
push 0
push ecx
fstp dword [esp]
push 0xff5f4b32
mov dword [ebp - 0x448], 0
call esi
push dword [ebp + 0x18]
mov dword [ebp - 0x444], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x460], 0
push eax
mov dword [ebp - 0x45c], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov esi, dword [ebp + 8]
xor ecx, ecx
fld dword [ebp + 0x10]
fld dword [ebp + 0xc]
mov dword [ebp - 0x424], ecx
mov eax, dword [esi]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x45606f
mov ebx, dword [ebp + 0x1c]
xor edx, edx
mov dword [ebp - 0x410], edx
mov esi, dword [esi + 0xc]
add esi, edx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x458], eax
fadd dword [ebp - 0x458]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x454], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x450], eax
mov eax, dword [esi + 0x18]
fstp dword [ebp - 0x458]
fld dword [ebp - 0x454]
fadd st(1)
mov dword [ebp - 0x44c], eax
mov eax, dword [esi]
fstp dword [ebp - 0x454]
test eax, eax
je 0x455f81
cmp eax, 9
je 0x455f81
cmp eax, 4
jne 0x45603a
mov eax, dword [edi]
mov ecx, edi
push dword [esi + 4]
fstp st(0)
call dword [eax]
jmp 0x45602b
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x408]
push 0x200
push ecx
push dword [esi + 8]
fstp st(0)
mov dword [ebp - 0x42c], eax
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x455fd6
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0x100
push dword [ebp - 0x42c]
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
jmp 0x455fe3
cmp edi, 0x200
jb 0x455fe3
mov edi, 0x1ff
xor eax, eax
lea ecx, [ebp - 0x408]
mov edx, 0x4f43b4
mov word [ebp + edi*2 - 0x408], ax
call fcn.0041a3d0
mov edx, dword [ebp - 0x428]
sub edi, eax
cmp dword [esi], 9
sete al
mov edx, dword [edx]
movzx eax, al
push eax
lea eax, [ebp - 0x458]
push eax
push edi
mov edi, dword [ebp - 0x428]
lea eax, [ebp - 0x408]
push eax
mov ecx, edi
call dword [edx + 0x20]
mov edx, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x424]
fld dword [ebp + 0x10]
test ebx, ebx
je 0x456043
cmp byte [ebx], 0
jne 0x456067
fld dword [ebp + 0xc]
inc ecx
mov esi, dword [ebp + 8]
add edx, 0x1c
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x410], edx
cmp ecx, dword [ebp - 0x430]
jne 0x455f1a
fstp st(0)
mov ebx, dword [ebp - 0x40c]
jmp 0x456071
fstp st(0)
mov eax, dword [edi]
fstp st(0)
mov ecx, edi
call dword [eax + 0x1c]
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x468]
call fcn.00411a90
mov ecx, dword [ebp + 8]
xor esi, esi
mov edi, dword [sym.imp.gdiplus.dll_GdipDeletePen]
fstp st(0)
mov dword [ebp - 0x410], esi
mov eax, dword [ecx]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x456333
fld qword [0x55da58]
xor eax, eax
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ecx + 0xc]
add ecx, eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x420], eax
fld dword [ebp - 0x420]
fadd dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x41c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x418], eax
mov eax, dword [ecx + 0x18]
fstp dword [ebp - 0x420]
fld dword [ebp - 0x41c]
fadd dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
mov eax, dword [ecx]
fstp dword [ebp - 0x41c]
cmp eax, 3
jne 0x4561e1
fld dword [ebp - 0x414]
sub esp, 8
fmul st(1)
fadd dword [ebp - 0x41c]
faddp st(1)
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x40c]
fstp qword [esp]
call fcn.004e3b30
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x418]
add esp, 8
cmp byte [ebp + 0x14], 0
fld st(0)
fadd dword [ebp - 0x420]
fstp dword [ebp - 0x470]
je 0x45619d
fld dword [ebp - 0x414]
sub esp, 0x10
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x41c]
fstp dword [esp + 4]
fld dword [ebp - 0x420]
fstp dword [esp]
push dword [ebp - 0x438]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
test eax, eax
je 0x45619f
mov dword [ebx + 4], eax
jmp 0x45619f
fstp st(0)
fld dword [ebp - 0x40c]
sub esp, 0x10
fst dword [esp + 0xc]
fld dword [ebp - 0x470]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp - 0x420]
fstp dword [esp]
push dword [ebp - 0x448]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
test eax, eax
je 0x4562f7
mov dword [ebx + 4], eax
jmp 0x4562f7
cmp eax, 5
jne 0x456354
mov edx, dword [ecx + 8]
fstp st(0)
mov ecx, dword [ecx + 4]
call fcn.004285a0
mov esi, eax
test esi, esi
je 0x4562f1
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x456222
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x424]
push eax
push dword [esi + 4]
mov dword [ebp - 0x424], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x45624f
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x40c]
fild dword [ebp - 0x40c]
push 0
push 0
push 0
push 2
test eax, eax
jns 0x45626d
fadd dword [0x55ddb4]
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x40c]
sub esp, 0x20
mov eax, dword [ebp - 0x424]
fstp dword [esp + 0x1c]
fild dword [ebp - 0x424]
test eax, eax
jns 0x456296
fadd dword [0x55ddb4]
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x40c]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [ebp - 0x414]
fstp dword [esp + 0xc]
fld dword [ebp - 0x418]
fstp dword [esp + 8]
fld dword [ebp - 0x41c]
fstp dword [esp + 4]
fld dword [ebp - 0x420]
fstp dword [esp]
push dword [esi + 4]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectRect]
test eax, eax
je 0x4562e9
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, dword [ebp - 0x410]
test edi, edi
je 0x456300
cmp byte [edi], 0
jne 0x45632d
mov eax, dword [ebp - 0x42c]
inc esi
fld qword [0x55da58]
add eax, 0x1c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x42c], eax
cmp esi, dword [ebp - 0x430]
jne 0x4560c6
fstp st(0)
mov edi, dword [sym.imp.gdiplus.dll_GdipDeletePen]
push dword [ebp - 0x448]
call edi
push dword [ebp - 0x438]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x45640f
fld dword [ebp - 0x414]
sub esp, 8
fadd dword [ebp - 0x41c]
faddp st(1)
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x40c]
fstp qword [esp]
call fcn.004e3b30
fstp dword [ebp - 0x40c]
fld dword [ebp - 0x418]
lea eax, [ebp - 0x440]
fadd dword [ebp - 0x420]
add esp, 8
mov dword [ebp - 0x440], 0
push eax
push 0
fstp dword [ebp - 0x478]
push ecx
fld1
fstp dword [esp]
push dword [ebp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
fld dword [ebp - 0x40c]
sub esp, 0x10
mov dword [ebp - 0x43c], eax
fst dword [esp + 0xc]
fld dword [ebp - 0x478]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp - 0x420]
fstp dword [esp]
push dword [ebp - 0x440]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
test eax, eax
je 0x4563fe
mov dword [ebx + 4], eax
push dword [ebp - 0x440]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
jmp 0x4562f7
fstp st(0)
test eax, eax
je 0x45641e
cmp eax, 9
jne 0x4562f7
cmp byte [ebp + 0x14], 0
je 0x4562f7
fld dword [ebp - 0x414]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x418]
fstp dword [esp + 8]
fld dword [ebp - 0x41c]
fstp dword [esp + 4]
fld dword [ebp - 0x420]
fstp dword [esp]
push dword [ebp - 0x438]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
test eax, eax
je 0x4562f7
mov dword [ebx + 4], eax
jmp 0x4562f7