Function at 0x48b560
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x474
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x470], eax
fld1
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipCreatePen1]
push edi
mov edi, ecx
lea ecx, [esp + 0x44]
push ecx
push 0
push ecx
fstp dword [esp]
mov ebx, edx
push 0xffff0000
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], 0
call esi
fld dword [0x9adb60]
lea edx, [esp + 0x4c]
push edx
push 0
push ecx
fstp dword [esp]
push 0xff5f4b32
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
call esi
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ecx
mov ecx, edi
call edx
lea eax, [esp + 0x60]
xor esi, esi
push eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xc]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [eax + edx*4]
mov dword [ebx + 0x1d4], eax
cmp ecx, eax
jne 0x48b620
xor eax, eax
jmp 0x48b629
lea edx, [eax + 0x1c]
mov dword [ebx + 0x1d4], edx
mov esi, eax
test eax, eax
je 0x48b738
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x24], eax
fld dword [esp + 0x24]
fadd dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
mov dword [esp + 0x2c], edx
fadd dword [ebp + 0x10]
fstp dword [esp + 0x28]
test eax, eax
je 0x48b687
cmp eax, 9
je 0x48b687
cmp eax, 4
jne 0x48b700
mov edx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [edx]
push eax
mov ecx, edi
call edx
jmp 0x48b700
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
push 0x200
lea ecx, [esp + 0x7c]
push ecx
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x48b6c8
push 0x200
lea edx, [esp + 0x7c]
push edx
push 0x100
push ebx
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x48b6d4
cmp eax, 0x200
jb 0x48b6d4
mov eax, 0x1ff
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
xor ecx, ecx
mov word [esp + eax*2 + 0x78], cx
cmp dword [esi], 9
sete cl
movzx ecx, cl
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call edx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x48b70c
cmp byte [eax], 0
jne 0x48b738
mov eax, dword [ebx]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x1d4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
cmp eax, esi
je 0x48b738
lea ecx, [esi + 0x1c]
mov dword [ebx + 0x1d4], ecx
test esi, esi
jne 0x48b633
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x68]
push ecx
call esi
xor edi, edi
cmp dword [esp + 0x68], edi
jne 0x48b76a
cmp dword [esp + 0x6c], edi
jne 0x48b76a
lea edx, [esp + 0x70]
push edx
call esi
lea eax, [esp + 0x58]
push eax
jmp 0x48b76f
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xc]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [eax + edx*4]
mov dword [ebx + 0x1d4], eax
cmp ecx, eax
jne 0x48b794
xor eax, eax
jmp 0x48b79d
lea edx, [eax + 0x1c]
mov dword [ebx + 0x1d4], edx
cmp eax, edi
je 0x48baba
jmp 0x48b7b0
mov ecx, dword [eax + 0xc]
fld qword [0x9ad788]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
fadd dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x18]
fstp dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x28]
mov ecx, dword [eax]
fadd dword [ebp + 0x10]
mov dword [esp + 0x30], edx
fstp dword [esp + 0x28]
cmp ecx, 3
jne 0x48b8a7
fld dword [esp + 0x30]
sub esp, 8
fmul st(1)
fadd dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.0065d120
mov esi, dword [esp + 0x3c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 8
cmp byte [ebp + 0x14], 0
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x58]
je 0x48b872
fld dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esi]
sub esp, 0x10
fstp dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 8]
fld dword [esp + 0x38]
fstp dword [esp + 4]
fstp dword [esp]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
cmp eax, edi
je 0x48b876
mov dword [esi + 4], eax
jmp 0x48b876
fstp st(1)
fstp st(0)
fld dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov eax, dword [esi]
sub esp, 0x10
fst dword [esp + 0xc]
fld dword [esp + 0x68]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fstp dword [esp]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
jmp 0x48ba7b
cmp ecx, 5
jne 0x48b990
mov ecx, dword [eax + 4]
fstp st(0)
mov eax, dword [eax + 8]
push ecx
call fcn.0045bb80
mov esi, eax
add esp, 4
cmp esi, edi
je 0x48ba82
mov eax, dword [esi + 4]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x48], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x48b8e5
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x48b907
mov dword [esi + 8], eax
push 0
push 0
push 0
mov dword [esp + 0x60], edi
fild dword [esp + 0x60]
push 2
test edi, edi
jns 0x48b921
fadd dword [0x9ad760]
mov eax, dword [esp + 0x30]
sub esp, 0x20
fstp dword [esp + 0x1c]
fild dword [esp + 0x50]
test eax, eax
jns 0x48b93a
fadd dword [0x9ad760]
mov ecx, dword [esi + 4]
fstp dword [esp + 0x18]
fldz
mov edi, dword [esp + 0x64]
mov edx, dword [edi]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x60]
fstp dword [esp + 0xc]
fld dword [esp + 0x5c]
fstp dword [esp + 8]
fld dword [esp + 0x58]
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectRect]
test eax, eax
je 0x48b97f
mov dword [edi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
xor edi, edi
jmp 0x48ba82
cmp ecx, 6
jne 0x48ba36
fld dword [esp + 0x30]
sub esp, 8
fadd dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.0065d120
fstp dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x20]
lea eax, [esp + 0x38]
fstp dword [esp + 0x20]
push eax
fld dword [esp + 0x30]
push edi
fadd dword [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x44], edi
fstp dword [esp + 0x7c]
fld1
fstp dword [esp]
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
sub esp, 0x10
fst dword [esp + 0xc]
mov dword [esp + 0x4c], eax
fld dword [esp + 0x80]
mov eax, dword [esi]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fstp dword [esp]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawLine]
cmp eax, edi
je 0x48ba29
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
jmp 0x48ba82
fstp st(0)
cmp ecx, edi
je 0x48ba41
cmp ecx, 9
jne 0x48ba82
cmp byte [ebp + 0x14], 0
je 0x48ba82
fld dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x3c]
fstp dword [esp + 8]
fld dword [esp + 0x38]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fstp dword [esp]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
cmp eax, edi
je 0x48ba82
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x48ba8e
cmp byte [eax], 0
jne 0x48baba
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x1d4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + edx*4]
cmp edx, eax
je 0x48baba
lea ecx, [eax + 0x1c]
mov dword [ebx + 0x1d4], ecx
cmp eax, edi
jne 0x48b7b0
mov edx, dword [esp + 0x4c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeletePen]
push edx
call esi
mov eax, dword [esp + 0x44]
push eax
call esi
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret