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

Disassembly:
push 0xffffffffffffffff
push 0x466a1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x88], 0x46a4ac
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0xcc]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x40c64b
mov ecx, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esi], 0x46a4b0
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x40c684.2
xor edx, edx
mov dl, byte [eax + 0x40c838]
jmp dword [edx*4 + 0x40c830]
mov dword [esi + 0x70], ecx
jmp 0x40c697
mov dword [esi + 0x70], 8
mov ecx, esi
call fcn.0040cf50
test al, al
jne 0x40c6b8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esi + 0x10c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov byte [esi + 4], 1
call dword [0x478658]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [esp + 0x6c]
mov byte [esi + 0xc], al
call edi
push 1
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, 0x20
cdq
idiv dword [esi + 0x70]
mov ecx, dword [esi + 0x44]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ecx
mov dword [esi + 0x30], ebp
mov byte [esi + 0x24], al
call edi
mov edx, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
push edx
call edi
push ebp
mov dword [esi + 0x80], eax
call edi
push ebp
mov dword [esi + 0x48], eax
call edi
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x28]
push 1
lea edi, [esi + 0x5c]
lea ebx, [esi + 0x60]
push eax
push ecx
mov ecx, esi
mov dword [edi], ebp
mov dword [ebx], ebp
call fcn.0040cc70
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040cc70
mov edx, dword [esi + 0x28]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x70]
push 1
push edx
push eax
mov ecx, esi
call fcn.0040cc70
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x44]
push ebp
push ebp
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateDIBSection]
push ebp
push ecx
push edx
mov dword [esi + 0x6c], eax
call edi
push ebp
mov dword [esi + 0x54], eax
push ebp
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
push ebx
push ebp
push eax
push ecx
call edi
mov ecx, dword [esi + 0x44]
push ebp
lea edx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x68]
push ebp
push edx
push ebp
push eax
push ecx
call edi
mov edx, dword [esi + 0x58]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call edi
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
push ecx
push edx
call edi
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push eax
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push edx
push eax
push ebp
lea ecx, [esi + 0x34]
push ebp
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x1c], eax
xor edx, edx
add esp, 4
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x54]
div dword [esi + 0x2c]
mov dword [esi + 0x20], ebp
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
ror dword [edi], cl
cmc
stc
psrad mm2, 0x10
pmaddwd mm0, qword [0x468c00]
paddd mm4, mm5
pmaddwd mm1, qword [0x468c08]
inc esi
add byte [edi], cl
jb 0x41c919
adc byte [edi], cl
invalid
test dword [edi], 0xf10e672
inc cl
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468dd0]
packssdw mm6, mm0
paddsw mm6, qword [0x468e10]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx], mm2
movq qword [ecx + 8], mm6
movq mm0, qword [ecx + 0x10]
pshufw mm1, qword [ecx + 0x18], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468c10]
movq mm3, qword [0x468c18]
pmaddwd mm2, mm0
movq mm4, qword [0x468c20]
pmaddwd mm3, mm1
movq mm5, qword [0x468c28]
pmaddwd mm4, mm0
movq mm6, qword [0x468c30]
pmaddwd mm5, mm1
movq mm7, qword [0x468c38]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468c40]
paddd mm4, mm5
pmaddwd mm1, qword [0x468c48]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468dd8]
packssdw mm6, mm0
paddsw mm6, qword [0x468e18]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x10], mm2
movq qword [ecx + 0x18], mm6
movq mm0, qword [ecx + 0x20]
pshufw mm1, qword [ecx + 0x28], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468c50]
movq mm3, qword [0x468c58]
pmaddwd mm2, mm0
movq mm4, qword [0x468c60]
pmaddwd mm3, mm1
movq mm5, qword [0x468c68]
pmaddwd mm4, mm0
movq mm6, qword [0x468c70]
pmaddwd mm5, mm1
movq mm7, qword [0x468c78]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468c80]
paddd mm4, mm5
pmaddwd mm1, qword [0x468c88]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468de0]
packssdw mm6, mm0
paddsw mm6, qword [0x468e20]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x20], mm2
movq qword [ecx + 0x28], mm6
movq mm0, qword [ecx + 0x30]
pshufw mm1, qword [ecx + 0x38], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468c90]
movq mm3, qword [0x468c98]
pmaddwd mm2, mm0
movq mm4, qword [0x468ca0]
pmaddwd mm3, mm1
movq mm5, qword [0x468ca8]
pmaddwd mm4, mm0
movq mm6, qword [0x468cb0]
pmaddwd mm5, mm1
movq mm7, qword [0x468cb8]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468cc0]
paddd mm4, mm5
pmaddwd mm1, qword [0x468cc8]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468de8]
packssdw mm6, mm0
paddsw mm6, qword [0x468e28]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x30], mm2
movq qword [ecx + 0x38], mm6
movq mm0, qword [ecx + 0x40]
pshufw mm1, qword [ecx + 0x48], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468cd0]
movq mm3, qword [0x468cd8]
pmaddwd mm2, mm0
movq mm4, qword [0x468ce0]
pmaddwd mm3, mm1
movq mm5, qword [0x468ce8]
pmaddwd mm4, mm0
movq mm6, qword [0x468cf0]
pmaddwd mm5, mm1
movq mm7, qword [0x468cf8]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468d00]
paddd mm4, mm5
pmaddwd mm1, qword [0x468d08]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468df0]
packssdw mm6, mm0
paddsw mm6, qword [0x468e30]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x40], mm2
movq qword [ecx + 0x48], mm6
movq mm0, qword [ecx + 0x50]
pshufw mm1, qword [ecx + 0x58], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468d10]
movq mm3, qword [0x468d18]
pmaddwd mm2, mm0
movq mm4, qword [0x468d20]
pmaddwd mm3, mm1
movq mm5, qword [0x468d28]
pmaddwd mm4, mm0
movq mm6, qword [0x468d30]
pmaddwd mm5, mm1
movq mm7, qword [0x468d38]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468d40]
paddd mm4, mm5
pmaddwd mm1, qword [0x468d48]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468df8]
packssdw mm6, mm0
paddsw mm6, qword [0x468e38]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x50], mm2
movq qword [ecx + 0x58], mm6
movq mm0, qword [ecx + 0x60]
pshufw mm1, qword [ecx + 0x68], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468d50]
movq mm3, qword [0x468d58]
pmaddwd mm2, mm0
movq mm4, qword [0x468d60]
pmaddwd mm3, mm1
movq mm5, qword [0x468d68]
pmaddwd mm4, mm0
movq mm6, qword [0x468d70]
pmaddwd mm5, mm1
movq mm7, qword [0x468d78]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468d80]
paddd mm4, mm5
pmaddwd mm1, qword [0x468d88]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468e00]
packssdw mm6, mm0
paddsw mm6, qword [0x468e40]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x60], mm2
movq qword [ecx + 0x68], mm6
movq mm0, qword [ecx + 0x70]
pshufw mm1, qword [ecx + 0x78], 0x1b
movq mm7, mm0
paddsw mm0, mm1
psubsw mm7, mm1
movq mm1, mm0
punpckldq mm0, mm7
punpckhdq mm1, mm7
movq mm2, qword [0x468d90]
movq mm3, qword [0x468d98]
pmaddwd mm2, mm0
movq mm4, qword [0x468da0]
pmaddwd mm3, mm1
movq mm5, qword [0x468da8]
pmaddwd mm4, mm0
movq mm6, qword [0x468db0]
pmaddwd mm5, mm1
movq mm7, qword [0x468db8]
pmaddwd mm6, mm0
paddd mm2, mm3
pmaddwd mm7, mm1
psrad mm2, 0x10
pmaddwd mm0, qword [0x468dc0]
paddd mm4, mm5
pmaddwd mm1, qword [0x468dc8]
psrad mm4, 0x10
paddd mm6, mm7
psrad mm6, 0x10
paddd mm0, mm1
psrad mm0, 0x10
packssdw mm2, mm4
paddsw mm2, qword [0x468e08]
packssdw mm6, mm0
paddsw mm6, qword [0x468e48]
psraw mm2, 4
psraw mm6, 4
movq qword [ecx + 0x70], mm2
movq qword [ecx + 0x78], mm6
ret
inc esi
add byte [edi], cl
jb 0x41c919
adc byte [edi], cl
invalid