Function at 0x401b6d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56e289
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
and dword [esp + 0xb8], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
sub esi, edx
sub ecx, eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
mov dword [esp + 0x18], eax
push esi
push 0xff000000
push 3
mov byte [esp + 0xc4], 1
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesWrapMode]
mov ecx, dword [esp + 0x18]
test eax, eax
cmovne ecx, eax
mov al, byte [ebp + 0x14]
mov dword [esp + 0x18], ecx
cmp al, 0xff
jae 0x401ce2
movaps xmm0, xmmword [0x5abaf0]
movups xmmword [esp + 0x3c], xmm0
movzx eax, al
movaps xmm0, xmmword [0x5abb40]
movups xmmword [esp + 0x4c], xmm0
and dword [esp + 0x7c], esi
xorps xmm0, xmm0
and dword [esp + 0x80], esi
movups xmmword [esp + 0x5c], xmm0
and dword [esp + 0x98], esi
movaps xmm0, xmmword [0x5abaf0]
movups xmmword [esp + 0x6c], xmm0
push esi
movd xmm0, eax
lea eax, [esp + 0x40]
cvtdq2ps xmm0, xmm0
push esi
push eax
push 1
push esi
push dword [esp + 0x28]
divss xmm0, dword [0x5aba78]
mov dword [esp + 0xb4], 0x3f800000
movss dword [esp + 0x9c], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0xa0], xmm0
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x18]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x401cf6
push dword [edi + 0xc]
lea ecx, [esp + 0x10]
push ecx
call eax
pop ecx
pop ecx
movss xmm1, dword [edi + 0x14]
comiss xmm1, dword [0x5ab960]
ja 0x401d44
movss xmm0, dword [0x5abad0]
comiss xmm0, xmm1
ja 0x401d44
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push ecx
push ecx
push eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
push ecx
push eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push eax
push dword [ecx + 4]
lea eax, [esp + 0x48]
push dword [ecx]
lea ecx, [esp + 0x2c]
push eax
push dword [edi + 0xc]
call fcn.00401814
jmp 0x401e4d
mov ecx, dword [esp + 0x24]
push 0
push ecx
push ecx
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
cdq
sub eax, edx
sar esi, 1
add esi, dword [ecx]
mov edi, eax
sar edi, 1
add edi, dword [ecx + 4]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
mov ecx, dword [esp + 0x10]
test eax, eax
push 0
cmovne ecx, eax
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x18], ecx
movss xmm0, dword [eax + 0x14]
movss dword [esp], xmm0
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipRotateWorldTransform]
mov ecx, dword [esp + 0x10]
test eax, eax
movd xmm1, edi
cvtdq2ps xmm1, xmm1
cmovne ecx, eax
push 0
push ecx
push ecx
mov dword [esp + 0x1c], ecx
xorps xmm1, xmmword [0x5abbd0]
movss dword [esp + 4], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x5abbd0]
movss dword [esp], xmm1
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
mov ecx, dword [esp + 0x10]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
push eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
push ecx
push eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push eax
push dword [ecx + 4]
lea eax, [esp + 0x48]
push dword [ecx]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push dword [eax + 0xc]
call fcn.00401814
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdipResetWorldTransform]
mov ecx, dword [esp + 0x10]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x10], ecx
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret 0x14