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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb0
xor eax, eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
jmp 0x404835
mov eax, esp
mov dword [eax + 0xc], 0x1cb
mov dword [eax + 8], 0xd2f
mov dword [eax + 4], 0xd2f
mov dword [eax], 0xbceea9
mov eax, dword [sym.imp.GDI32.dll_SetPixel]
call eax
sub esp, 0x10
mov dword [esp + 0x74], eax
mov eax, esp
mov dword [eax], 0x96e
mov eax, dword [sym.imp.USER32.dll_EnumClipboardFormats]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x6ef0e9
mov dword [ecx], 0x253404
mov ecx, dword [sym.imp.GDI32.dll_SetColorSpace]
mov dword [esp + 0x70], eax
call ecx
sub esp, 8
mov dword [esp + 0x6c], eax
jmp 0x404961
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov edx, 0x2c
mov esi, dword [esp + 0x7c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 4], ecx
mov dword [eax], 0x9015bf
mov eax, dword [sym.imp.USER32.dll_GetTitleBarInfo]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharUpperA]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x8b6945
mov ecx, dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharLowerW]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, 0x38e38e39
mov dword [esp + 0x48], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x40490e
jmp 0x4048ff
mov eax, dword [esp + 0x44]
sub eax, 8
mov dword [esp + 0x3c], eax
jne 0x404920
jmp 0x40490e
mov eax, esp
mov dword [eax], 0xf75f25
mov eax, dword [sym.imp.KERNEL32.dll_AddRefActCtx]
call eax
sub esp, 4
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x366
mov dword [esp + 0x4c], eax
jne 0x4048d3
mov eax, dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
call eax
mov ecx, dword [esp + 0x68]
sub ecx, 0x29
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
je 0x4047d1
jmp 0x404952
mov eax, dword [esp + 0x68]
sub eax, 9
mov dword [esp + 0x30], eax
jne 0x4049d3
jmp 0x404961
mov eax, esp
mov dword [eax + 0x20], 0x6f9
mov dword [eax + 0x1c], 0x939dca
mov dword [eax + 0x18], 0x6f9
mov dword [eax + 0x14], 0xd83
mov dword [eax + 0x10], 0x79b
mov dword [eax + 0xc], 0x8142e2
mov dword [eax + 8], 0xb99
mov dword [eax + 4], 0xb99
mov dword [eax], 0x177bef
mov eax, dword [sym.imp.USER32.dll_DrawIconEx]
call eax
sub esp, 0x24
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [eax + 8], 0xb1475d
mov dword [eax + 4], 0xb1475d
mov dword [eax], 0x9cd
mov eax, dword [sym.imp.KERNEL32.dll_HeapCreate]
call eax
sub esp, 0xc
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], 0x1b6
mov eax, dword [sym.imp.KERNEL32.dll_InitAtomTable]
call eax
sub esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, 0xb1
mov dword [esp + 0x78], eax
jne 0x404835
lea esp, [ebp - 4]
pop esi
pop ebp
ret