Function at 0x401180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0xe4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x28]
push esi
movups xmmword [esp + 0x6c], xmm0
push edi
movups xmm0, xmmword [ebp + 0x18]
push 0
mov dword [esp + 0x54], eax
movaps xmmword [esp + 0xa4], xmm0
movaps xmmword [esp + 0x84], xmm0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0xa0]
movd esi, xmm0
psrldq xmm0, 4
mov dword [esp + 0xe8], 0
mov dword [esp + 0xc0], 0x2c
mov dword [esp + 0xcc], 0x200001
mov dword [esp + 0x10], esi
mov dword [esp + 0xc4], esi
movd dword [esp + 0xc], xmm0
movd dword [esp + 0xc8], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, eax
mov eax, dword [esp + 0xc]
imul eax, esi
mov dword [esp + 0x6c], ecx
shl eax, 2
push eax
push 0
push ecx
mov dword [esp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x34], eax
test eax, eax
je 0x40147d
push 0
push 0
lea eax, [esp + 0xc4]
push eax
push 0
lea eax, [esp + 0xd0]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x48], eax
test eax, eax
je 0x40147d
mov eax, dword [esp + 0x88]
mov ecx, 0x3e8
mul ecx
mov esi, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov edx, 0x3e8
xor eax, eax
add ecx, esi
push dword [esp + 0x48]
adc eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mul edx
push dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x40], ecx
add esi, ecx
mov eax, 0x64
mov dword [esp + 0x70], esi
adc edx, dword [esp + 0x34]
mov dword [esp + 0x4c], edx
cdq
idiv dword [esp + 0x84]
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x40]
xor ecx, ecx
add eax, edx
adc ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x44]
ja 0x401454
jb 0x40132c
cmp eax, esi
jae 0x401454
sub edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
cdq
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edx
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor edi, edi
add esi, dword [esp + 0x38]
adc edi, dword [esp + 0x2c]
push edi
push esi
push dword [esp + 0x44]
push dword [esp + 0x58]
call fcn.00403270
push 0
push 0xa
push edx
push eax
call fcn.004031c0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x4013a0
push dword [esp + 0x8c]
push dword [esp + 0x10]
push dword [esp + 0x18]
push edi
push esi
push eax
push dword [esp + 0x48]
call ecx
push 0xcc0020
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x60]
push dword [esp + 0xc0]
push dword [esp + 0x3c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esp + 0x8c]
push dword [esp + 0x10]
push dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x40]
push esi
push dword [esp + 0x78]
push edi
push dword [esp + 0xd8]
push dword [esp + 0x54]
call dword [esp + 0x94]
push 0xcc0020
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
add eax, dword [esp + 0x40]
adc ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x44]
jb 0x401350
ja 0x401454
cmp eax, dword [esp + 0x68]
jb 0x401350
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
push dword [esp + 0x34]
push 0
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.00402527
mov esp, ebp
pop ebp
ret 0x24