Function at 0x43d670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce998
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 8]
lea ebx, [ecx + 0x28]
mov dword [esp + 0x18], eax
mov ecx, ebx
lea eax, [esp + 0x20]
push eax
call fcn.00411100
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x519b84
call edi
mov eax, dword [ebx + 0x44]
mov ebx, dword [ebx + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x519b84
mov dword [esp + 0x30], eax
call esi
push 0x519b84
call edi
mov eax, dword [esp + 0x1c]
push 0x519b84
mov edi, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
add eax, 0xe4
mov dword [esp + 0x90], 0
push eax
call fcn.0040f7f0
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov dword [esp + 0xa0], 0xffffffff
mov esi, dword [esp + 0x4c]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
mov ecx, eax
test ecx, ecx
je 0x43d789
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
movss xmm2, dword [0x4e89d4]
mov dword [esp + 0x3c], 0
push dword [eax + 0xdc]
call fcn.0040ef00
mov dword [esp + 0x90], 1
lea eax, [esp + 0x40]
mov esi, dword [esp + 0x3c]
movaps xmm0, xmmword [0x4e8ce0]
push 4
push eax
movups xmmword [esp + 0x48], xmm0
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetPenDashArray]
test eax, eax
je 0x43d7e5
mov dword [esi + 4], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0xffffffff
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipGetSmoothingMode]
mov ecx, eax
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x43d80b
mov dword [eax + 4], ecx
cmp dword [esp + 0x38], 2
je 0x43d829
push 2
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
mov ecx, eax
test ecx, ecx
je 0x43d829
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ecx
sub esp, 0x10
movd xmm0, ebx
mov ebx, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [esi]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
test eax, eax
je 0x43d872
mov dword [ebx + 4], eax
push dword [esp + 0x38]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x43d885
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x1c]
call fcn.0043e100
mov ecx, dword [esp + 0x1c]
mov edi, eax
push edi
mov dword [esp + 0x30], edi
call fcn.0043e3b0
movdqa xmm0, xmmword [0x4e8c10]
lea edx, [esp + 0x54]
movdqu xmmword [esp + 0x50], xmm0
mov esi, ebx
mov dword [esp + 0x1c], edx
movdqa xmm0, xmmword [0x4e9010]
movdqu xmmword [esp + 0x60], xmm0
mov dword [esp + 0x28], 4
movdqa xmm0, xmmword [0x4e8c00]
movdqu xmmword [esp + 0x70], xmm0
lea ebx, [ebx]
mov eax, dword [edx - 4]
movd xmm2, dword [edx]
movd xmm0, dword [edx + 4]
cvtdq2ps xmm2, xmm2
lea ebx, [eax + eax*4]
mov eax, dword [edi + ebx*4 + 0x10]
mov ecx, dword [edi + ebx*4 + 0x14]
mov edi, dword [edi + ebx*4 + 0x18]
cvtdq2ps xmm0, xmm0
sub edi, eax
movd xmm1, eax
mov eax, dword [esp + 0x2c]
movd xmm3, ecx
cvtdq2ps xmm1, xmm1
mov ebx, dword [eax + ebx*4 + 0x1c]
sub ebx, ecx
cvtdq2ps xmm3, xmm3
addss xmm2, xmm1
addss xmm3, xmm0
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x18], xmm3
push 0xc
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0x38], eax
test eax, eax
je 0x43d982
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 8], 6
mov dword [eax], vtable.Gdiplus::SolidBrush.0
lea eax, [esp + 0x34]
push eax
push 0xff000000
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
jmp 0x43d988
xor ecx, ecx
mov dword [esp + 0x38], ecx
sub esp, 0x10
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov byte [esp + 0xa0], 1
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [ecx + 4]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
test eax, eax
je 0x43d9d6
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x38]
push 1
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add edx, 0xc
dec dword [esp + 0x28]
mov dword [esp + 0x1c], edx
jne 0x43d8e0
mov esi, dword [esp + 0x3c]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 8