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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x47b00c]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
cmp edi, 0xffffffff
jne 0x418cf6
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x10], edi
push edi
call fcn.00419760
test al, al
jne 0x418d15
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [edi + edi*8]
shl ecx, 3
mov dword [esp + 0x1c], ecx
add ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
cmp eax, 5
jne 0x418de0
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
push ecx
push 0x46e828
push eax
lea ecx, [esp + 0x2c]
movaps xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
call fcn.0040c620
lea ecx, [esp + 0x20]
xor esi, esi
call fcn.0040c740
test eax, eax
je 0x418da4
push esi
lea ecx, [esp + 0x24]
call fcn.0040c730
push eax
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x418dd9
cmp eax, 0xfffffffe
je 0x418dd9
lea ecx, [esp + 0x20]
inc esi
call fcn.0040c740
cmp esi, eax
jb 0x418d73
push 0
push 0
push 0x14e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0xb], 1
lea ecx, [esp + 0x20]
call fcn.0040c690
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
mov byte [esp + 0xb], 0
jmp 0x418db9
cmp eax, 6
jne 0x418e8f
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
push ecx
push 0x46e828
movaps xmmword [esp + 0x48], xmm0
lea ecx, [esp + 0x28]
push eax
movaps xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0xffffffff
movaps xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
call fcn.0040c620
lea ecx, [esp + 0x20]
xor esi, esi
call fcn.0040c740
test eax, eax
je 0x418da4
push esi
lea ecx, [esp + 0x24]
call fcn.0040c730
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
push 0
push 0x40b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x418dd9
lea ecx, [esp + 0x20]
inc esi
call fcn.0040c740
cmp esi, eax
jb 0x418e52
jmp 0x418da4
cmp eax, 0x10
je 0x4190d6
cmp eax, 0x11
je 0x4190d6
cmp eax, 0x17
jne 0x418f72
movzx edx, word [ecx + 0x44]
movzx eax, word [ecx + 0x46]
mov dword [esp + 0x74], edx
mov dword [esp + 0x18], eax
test edx, edx
jne 0x418f0e
mov ecx, dword [esp + 0x14]
add esi, 0x118
push esi
push dword [esp + 0x14]
call fcn.004194b0
mov eax, dword [esp + 0x14]
push ecx
push 0x10000001
push 0x14
push 0x28
push dword [eax + 0x11c]
push dword [esi]
mov esi, eax
push 0
mov ecx, esi
call fcn.00417a40
mov edx, eax
mov dword [esp + 0x74], edx
test edx, edx
je 0x418d00
mov eax, dword [esi + 0x38]
lea ecx, [edx + edx*8]
mov dword [eax + ecx*8], 0x18
mov eax, dword [esp + 0xc]
mov ecx, esi
push 0
push eax
push edx
call fcn.00418cc0
mov ecx, dword [esi + 0x38]
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x74]
lea edx, [eax + eax*8]
push dword [ecx + edx*8 + 4]
push 1
push 0x420
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ecx, ax
mov eax, dword [esp + 0x74]
movzx eax, ax
shl ecx, 0x10
or ecx, eax
mov eax, dword [esi + 0x38]
mov dword [edx + eax + 0x44], ecx
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x18
jne 0x419018
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0xc]
mov edx, eax
lea eax, [esp + 0x74]
mov dword [esp + 0x18], edx
push eax
call fcn.0040c920
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x418fc2
mov eax, dword [esp + 0x78]
push 0x1a
add eax, 2
push eax
mov eax, dword [esp + 0x7c]
add eax, 0xa
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
sub esp, 8
push dword [esp + 0x1c]
call fcn.00418330
test eax, eax
setne al
mov byte [esp + 0xb], al
test al, al
je 0x41914a
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ecx + 4]
call fcn.00410040
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xe
jne 0x419060
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x182
push edi
call esi
cmp eax, 0xffffffff
je 0x418d00
mov eax, dword [esp + 0xc]
push eax
push 0
push 0x181
push edi
call esi
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x1c
jne 0x418fcd
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], 0x20
push 0x440
push edi
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x4c], 0x30
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0xc