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

Disassembly:
sub esp, 0xcc
push ebx
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x3000f88d
pop ebx
add esp, 0xcc
ret 8
push ebp
push esi
mov esi, dword [esp + 0xdc]
push edi
xor eax, eax
xor ebp, ebp
push ebp
mov ecx, 0x1b
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 1
lea ecx, [esp + 0x5c]
push ecx
push ebp
push esi
mov dword [esp + 0x68], 0x6c
mov dword [esp + 0x6c], 1
mov dword [esp + 0xd0], 0x200
call dword [eax + 0x64]
cmp eax, 0x887601c2
jne 0x3000f8fb
mov edx, dword [esi]
push esi
call dword [edx + 0x6c]
test eax, eax
jne 0x3000fb8b
mov eax, dword [esi]
push ebp
push 1
lea ecx, [esp + 0x5c]
push ecx
push ebp
push esi
call dword [eax + 0x64]
cmp eax, 0x887601c2
je 0x3000f8d7
cmp eax, ebp
jne 0x3000fb8b
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x80]
mov ebx, dword [esp + 0xe4]
cmp dword [0x30068cc0], ebx
jne 0x3000f94d
mov ecx, dword [0x30068cc4]
cmp ecx, dword [esp + 0x78]
jne 0x3000f94d
mov edx, dword [0x30068cc8]
cmp edx, dword [esp + 0xa8]
jne 0x3000f94d
mov eax, dword [0x30055ba8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 8
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], 0x3000f800
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], str.MouseTypeWind
call dword [sym.imp.USER32.dll_RegisterClassA]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ebp
push edi
push ebp
push ebp
push 0x20
push 0x20
add edx, 0xfffffff0
push edx
add eax, 0xfffffff0
push eax
push 0x90000000
push 0x3004fdce
push str.MouseTypeWind
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0xd0]
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_PeekMessageA]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
xor ebx, ebx
push ebp
inc ebx
call dword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
jge 0x3000fa05
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_GetPixel]
push ebp
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0xe4]
mov ebp, dword [sym.imp.USER32.dll_SetCursor]
push ecx
call ebp
mov dword [esp + 0x24], eax
jmp 0x3000fa50
push 1
dec ebx
call dword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
jl 0x3000fa50
mov edx, dword [esp + 0xe4]
push edx
call ebp
mov eax, dword [esi]
push 0
push 1
lea ecx, [esp + 0x5c]
push ecx
push 0
push esi
call dword [eax + 0x64]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x78]
test edx, edx
setne dl
imul eax, dword [esp + 0xa8]
imul ecx, dword [esp + 0x20]
dec dl
shr eax, 3
add ebp, eax
and edx, 0xff
mov byte [ecx + ebp], dl
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x80]
mov ebp, dword [sym.imp.USER32.dll_ShowCursor]
mov edi, edi
push 0
inc ebx
call ebp
test eax, eax
jge 0x3000fac0
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov esi, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x3000fb07
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
mov dword [esp + 0x10], 0
jmp 0x3000fb0f
mov dword [esp + 0x10], 1
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esp + 0x28]
push edx
push str.MouseTypeWind
call dword [sym.imp.USER32.dll_UnregisterClassA]
test ebx, ebx
jle 0x3000fb3b
push 1
call ebp
dec ebx
jne 0x3000fb32
jmp 0x3000fb47
jge 0x3000fb47
neg ebx
nop
push 0
call ebp
dec ebx
jne 0x3000fb40
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x78]
pop edi
pop esi
mov dword [0x30068cc8], eax
mov eax, dword [esp + 8]
pop ebp
mov dword [0x30068cc0], ecx
mov dword [0x30068cc4], edx
mov dword [0x30055ba8], eax
pop ebx
add esp, 0xcc
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xcc
ret 8