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

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xd4]
push edi
test byte [ecx + 0x1c], 8
je 0x451440
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
shr ebx, 0xc
shr eax, 0xc
and ebx, 7
and eax, 7
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x451440
mov eax, dword [ecx + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104b
push dword [esi + 0x1ac]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
test eax, eax
cmovne ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebp
mov eax, dword [ebp]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebp
call edi
test eax, eax
jne 0x451473
mov ecx, ebp
call fcn.00465d10
cmp eax, 4
je 0x451473
cmp ebx, 2
sete byte [esp + 0x18]
jne 0x4511d7
mov edi, dword [esi + 0x94]
cmp dword [edi + 4], 1
jne 0x451194
mov edi, dword [edi + 0xc]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x4511d7
cmp ebp, 0x400
jl 0x4511d7
cmp eax, 0x300
jl 0x4511d7
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x158], 0xe0000024
jne 0x4511d7
mov ecx, dword [esi + 4]
mov edx, 0x134
push ecx
mov eax, esp
push ecx
mov dword [eax], 0xd0
mov eax, esp
mov edi, dword [esi + 0x240]
mov dword [eax], edi
call fcn.0041fbb0
add esp, 8
cmp eax, 6
jne 0x451473
mov dword [ebp + 0x158], 0
mov eax, dword [esp + 0xd8]
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x104b
push dword [esi + 0x1ac]
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x68], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
test eax, eax
cmovne ebp, dword [esp + 0x78]
mov eax, dword [ebp]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebp
call edi
test eax, eax
jne 0x4513b0
cmp ebx, 2
jne 0x451270
mov ebp, dword [ebp + 0x13c]
jmp 0x451276
mov ebp, dword [ebp + 0x140]
test ebp, ebp
je 0x4513b0
xor edi, edi
cmp dword [esi + 0x20c], edi
jle 0x451263
nop dword [eax + eax]
mov eax, dword [esi + 0x204]
lea edx, [ebp + 4]
lea ecx, [eax + edi*4]
call fcn.00410050
test al, al
jne 0x4512b4
inc edi
cmp edi, dword [esi + 0x20c]
jl 0x451290
mov ebx, dword [esp + 0x10]
jmp 0x451263
test edi, edi
js 0x4512ae
xor edi, edi
cmp dword [esi + 0x20c], edi
jle 0x4512fa
lea eax, [ebp + 4]
nop word [eax + eax]
mov ecx, dword [esi + 0x204]
lea ebx, [edi*4]
add ecx, ebx
mov edx, eax
call fcn.00410050
test al, al
jne 0x451385
inc edi
lea eax, [ebp + 4]
cmp edi, dword [esi + 0x20c]
jl 0x4512d0
xor ecx, ecx
mov ebx, dword [esp + 0x10]
mov edx, 0x2000
cmp ebx, 2
mov dword [esp + 0x9c], 0
mov eax, 0x1000
mov dword [esp + 0xa4], 0xf000
cmove eax, edx
xorps xmm0, xmm0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push ecx
push 0x102b
push dword [esi + 0x1ac]
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xb8], xmm0
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x451263
cmp edi, 0xffffffff
je 0x4512fa
test edi, edi
js 0x451485
cmp edi, dword [esi + 0x20c]
jge 0x451485
mov eax, dword [esi + 0x208]
mov ecx, dword [ebx + eax]
jmp 0x4512fc
mov ebp, dword [esp + 0xd8]
mov ecx, esi
push dword [esp + 0x18]
push dword [ebp + 0xc]
call fcn.00451490
cmp ebx, 1
jne 0x45144f
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x228]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x104c
push dword [esi + 0x1ac]
mov dword [esp + 0x44], 0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 2
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
cmp ebx, 2
jne 0x451440
push 1
push dword [ebp + 0xc]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.004509d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc0
ret 0xc
push 0x8000000b
call fcn.00402740
int3